@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 |
external()
Indicates whether the principal belongs to the same 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.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public 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 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()
.
ResourceShareAssociationType
public 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()
.
ResourceShareAssociationType
public 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()
.
ResourceShareAssociationStatus
public 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()
.
ResourceShareAssociationStatus
public String statusMessage()
A message about the status of the association.
public Instant creationTime()
The time when the association was created.
public Instant lastUpdatedTime()
The time when the association was last updated.
public Boolean external()
Indicates whether the principal belongs to the same organization as the AWS account that owns the resource share.
public ResourceShareAssociation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>
public static ResourceShareAssociation.Builder builder()
public static Class<? extends ResourceShareAssociation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.