共用方式為


Resource Interface

Implements

public interface Resource
extends Indexable, HasId, HasName

Base interfaces for fluent resources.

Method Summary

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

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