@Generated(value="software.amazon.awssdk:codegen") public final class ResourceShareAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>
Describes an association with a resource share.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceShareAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
associatedEntity()
The associated entity.
|
ResourceShareAssociationType |
associationType()
The association type.
|
String |
associationTypeAsString()
The association type.
|
static ResourceShareAssociation.Builder |
builder() |
Instant |
creationTime()
The time when the association was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
external()
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource
share.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTime()
The time when the association was last updated.
|
String |
resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
String |
resourceShareName()
The name of the resource share.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceShareAssociation.Builder> |
serializableBuilderClass() |
ResourceShareAssociationStatus |
status()
The status of the association.
|
String |
statusAsString()
The status of the association.
|
String |
statusMessage()
A message about the status of the association.
|
ResourceShareAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public final String resourceShareName()
The name of the resource share.
public final String associatedEntity()
The associated entity. For resource associations, this is the ARN of the resource. For principal associations, this is the ID of an AWS account or the ARN of an OU or organization from AWS Organizations.
public final ResourceShareAssociationType associationType()
The association type.
If the service returns an enum value that is not available in the current SDK version, associationType
will return ResourceShareAssociationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from associationTypeAsString().
ResourceShareAssociationTypepublic final String associationTypeAsString()
The association type.
If the service returns an enum value that is not available in the current SDK version, associationType
will return ResourceShareAssociationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from associationTypeAsString().
ResourceShareAssociationTypepublic final ResourceShareAssociationStatus status()
The status of the association.
If the service returns an enum value that is not available in the current SDK version, status will
return ResourceShareAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ResourceShareAssociationStatuspublic final String statusAsString()
The status of the association.
If the service returns an enum value that is not available in the current SDK version, status will
return ResourceShareAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ResourceShareAssociationStatuspublic final String statusMessage()
A message about the status of the association.
public final Instant creationTime()
The time when the association was created.
public final Instant lastUpdatedTime()
The time when the association was last updated.
public final Boolean external()
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource share.
public ResourceShareAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>public static ResourceShareAssociation.Builder builder()
public static Class<? extends ResourceShareAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.