@Generated(value="software.amazon.awssdk:codegen") public final class ServiceNameAndResourceType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>
Information about a shareable resource type and the Amazon Web Services service to which resources of that type belong.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceNameAndResourceType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceNameAndResourceType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceRegionScope |
resourceRegionScope()
Specifies the scope of visibility of resources of this type:
|
String |
resourceRegionScopeAsString()
Specifies the scope of visibility of resources of this type:
|
String |
resourceType()
The type of the resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceNameAndResourceType.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the Amazon Web Services service to which resources of this type belong.
|
ServiceNameAndResourceType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceType()
The type of the resource.
public final String serviceName()
The name of the Amazon Web Services service to which resources of this type belong.
public final ResourceRegionScope resourceRegionScope()
Specifies the scope of visibility of resources of this type:
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
If the service returns an enum value that is not available in the current SDK version,
resourceRegionScope will return ResourceRegionScope.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from resourceRegionScopeAsString().
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
ResourceRegionScopepublic final String resourceRegionScopeAsString()
Specifies the scope of visibility of resources of this type:
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
If the service returns an enum value that is not available in the current SDK version,
resourceRegionScope will return ResourceRegionScope.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from resourceRegionScopeAsString().
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
ResourceRegionScopepublic ServiceNameAndResourceType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceNameAndResourceType.Builder,ServiceNameAndResourceType>public static ServiceNameAndResourceType.Builder builder()
public static Class<? extends ServiceNameAndResourceType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.