Resource Interface

Implements

public interface Resource
extends Indexable, HasId, HasName

Base interfaces for fluent resources.

Field Summary

Modifier and Type Field and Description
static final Resource DUMMY

A dummy resource that does nothing.

Method Summary

Modifier and Type Method and Description
abstract Region region()
abstract String regionName()
abstract Map<String,String> tags()
abstract String type()

Field Details

DUMMY

public static final Resource DUMMY

A dummy resource that does nothing.

Method Details

region

public abstract Region region()

Returns:

the region the resource is in

regionName

public abstract String regionName()

Returns:

the name of the region the resource is in

tags

public abstract Map tags()

Returns:

the tags for the resource

type

public abstract String type()

Returns:

the type of the resource

Applies to