@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The resource identifier for the specified scope type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final String value()
The resource identifier for the specified scope type.
public Scope.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Scope.Builder,Scope>public static Scope.Builder builder()
public static Class<? extends Scope.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.