@Generated(value="software.amazon.awssdk:codegen") public final class Scope extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Scope.Builder,Scope>
This data type contains key-value pairs that identify various Amazon resources.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Scope.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Scope.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ScopeType |
key()
The type of the scope.
|
String |
keyAsString()
The type of the scope.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Scope.Builder> |
serializableBuilderClass() |
Scope.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
The resource identifier for the specified scope type.
|
copypublic ScopeType key()
The type of the scope.
If the service returns an enum value that is not available in the current SDK version, key will return
ScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
ScopeTypepublic String keyAsString()
The type of the scope.
If the service returns an enum value that is not available in the current SDK version, key will return
ScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
ScopeTypepublic String value()
The resource identifier for the specified scope type.
public Scope.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Scope.Builder,Scope>public static Scope.Builder builder()
public static Class<? extends Scope.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.