Class AccountLink
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.AccountLink
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountLink.Builder,AccountLink>
@Generated("software.amazon.awssdk:codegen") public final class AccountLink extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountLink.Builder,AccountLink>
Information about about the account link.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountLink.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountLinkId()The identifier of the account link.AccountLinkStatusEnumaccountLinkStatus()The status of the account link.StringaccountLinkStatusAsString()The status of the account link.static AccountLink.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AccountLink.Builder>serializableBuilderClass()StringsourceAccountId()The identifier of the source account.StringtargetAccountId()The identifier of the target account.AccountLink.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountLinkId
public final String accountLinkId()
The identifier of the account link.
- Returns:
- The identifier of the account link.
-
accountLinkStatus
public final AccountLinkStatusEnum accountLinkStatus()
The status of the account link.
If the service returns an enum value that is not available in the current SDK version,
accountLinkStatuswill returnAccountLinkStatusEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccountLinkStatusAsString().- Returns:
- The status of the account link.
- See Also:
AccountLinkStatusEnum
-
accountLinkStatusAsString
public final String accountLinkStatusAsString()
The status of the account link.
If the service returns an enum value that is not available in the current SDK version,
accountLinkStatuswill returnAccountLinkStatusEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccountLinkStatusAsString().- Returns:
- The status of the account link.
- See Also:
AccountLinkStatusEnum
-
sourceAccountId
public final String sourceAccountId()
The identifier of the source account.
- Returns:
- The identifier of the source account.
-
targetAccountId
public final String targetAccountId()
The identifier of the target account.
- Returns:
- The identifier of the target account.
-
toBuilder
public AccountLink.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountLink.Builder,AccountLink>
-
builder
public static AccountLink.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountLink.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-