@Generated(value="software.amazon.awssdk:codegen") public final class Target extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Target.Builder,Target>
The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT. It applies the home region to the current ACCOUNT.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Target.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Target.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The
TargetID is a 12-character identifier of the ACCOUNT for which the control was
created. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Target.Builder> |
serializableBuilderClass() |
Target.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TargetType |
type()
The target type is always an
ACCOUNT. |
String |
typeAsString()
The target type is always an
ACCOUNT. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TargetType type()
The target type is always an ACCOUNT.
If the service returns an enum value that is not available in the current SDK version, type will return
TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ACCOUNT.TargetTypepublic final String typeAsString()
The target type is always an ACCOUNT.
If the service returns an enum value that is not available in the current SDK version, type will return
TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ACCOUNT.TargetTypepublic final String id()
The TargetID is a 12-character identifier of the ACCOUNT for which the control was
created. (This must be the current account.)
TargetID is a 12-character identifier of the ACCOUNT for which the control
was created. (This must be the current account.)public Target.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Target.Builder,Target>public static Target.Builder builder()
public static Class<? extends Target.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.