@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceShareAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes an association with a resource share.
Constructor and Description |
---|
ResourceShareAssociation() |
Modifier and Type | Method and Description |
---|---|
ResourceShareAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociatedEntity()
The associated entity.
|
String |
getAssociationType()
The association type.
|
Date |
getCreationTime()
The time when the association was created.
|
Boolean |
getExternal()
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource
share.
|
Date |
getLastUpdatedTime()
The time when the association was last updated.
|
String |
getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
String |
getResourceShareName()
The name of the resource share.
|
String |
getStatus()
The status of the association.
|
String |
getStatusMessage()
A message about the status of the association.
|
int |
hashCode() |
Boolean |
isExternal()
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource
share.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedEntity(String associatedEntity)
The associated entity.
|
void |
setAssociationType(String associationType)
The association type.
|
void |
setCreationTime(Date creationTime)
The time when the association was created.
|
void |
setExternal(Boolean external)
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource
share.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time when the association was last updated.
|
void |
setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
void |
setResourceShareName(String resourceShareName)
The name of the resource share.
|
void |
setStatus(String status)
The status of the association.
|
void |
setStatusMessage(String statusMessage)
A message about the status of the association.
|
String |
toString()
Returns a string representation of this object.
|
ResourceShareAssociation |
withAssociatedEntity(String associatedEntity)
The associated entity.
|
ResourceShareAssociation |
withAssociationType(ResourceShareAssociationType associationType)
The association type.
|
ResourceShareAssociation |
withAssociationType(String associationType)
The association type.
|
ResourceShareAssociation |
withCreationTime(Date creationTime)
The time when the association was created.
|
ResourceShareAssociation |
withExternal(Boolean external)
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource
share.
|
ResourceShareAssociation |
withLastUpdatedTime(Date lastUpdatedTime)
The time when the association was last updated.
|
ResourceShareAssociation |
withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
ResourceShareAssociation |
withResourceShareName(String resourceShareName)
The name of the resource share.
|
ResourceShareAssociation |
withStatus(ResourceShareAssociationStatus status)
The status of the association.
|
ResourceShareAssociation |
withStatus(String status)
The status of the association.
|
ResourceShareAssociation |
withStatusMessage(String statusMessage)
A message about the status of the association.
|
public void setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.public String getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public ResourceShareAssociation withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.public void setResourceShareName(String resourceShareName)
The name of the resource share.
resourceShareName
- The name of the resource share.public String getResourceShareName()
The name of the resource share.
public ResourceShareAssociation withResourceShareName(String resourceShareName)
The name of the resource share.
resourceShareName
- The name of the resource share.public void setAssociatedEntity(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.
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 String getAssociatedEntity()
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 ResourceShareAssociation withAssociatedEntity(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.
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 void setAssociationType(String associationType)
The association type.
associationType
- The association type.ResourceShareAssociationType
public String getAssociationType()
The association type.
ResourceShareAssociationType
public ResourceShareAssociation withAssociationType(String associationType)
The association type.
associationType
- The association type.ResourceShareAssociationType
public ResourceShareAssociation withAssociationType(ResourceShareAssociationType associationType)
The association type.
associationType
- The association type.ResourceShareAssociationType
public void setStatus(String status)
The status of the association.
status
- The status of the association.ResourceShareAssociationStatus
public String getStatus()
The status of the association.
ResourceShareAssociationStatus
public ResourceShareAssociation withStatus(String status)
The status of the association.
status
- The status of the association.ResourceShareAssociationStatus
public ResourceShareAssociation withStatus(ResourceShareAssociationStatus status)
The status of the association.
status
- The status of the association.ResourceShareAssociationStatus
public void setStatusMessage(String statusMessage)
A message about the status of the association.
statusMessage
- A message about the status of the association.public String getStatusMessage()
A message about the status of the association.
public ResourceShareAssociation withStatusMessage(String statusMessage)
A message about the status of the association.
statusMessage
- A message about the status of the association.public void setCreationTime(Date creationTime)
The time when the association was created.
creationTime
- The time when the association was created.public Date getCreationTime()
The time when the association was created.
public ResourceShareAssociation withCreationTime(Date creationTime)
The time when the association was created.
creationTime
- The time when the association was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time when the association was last updated.
lastUpdatedTime
- The time when the association was last updated.public Date getLastUpdatedTime()
The time when the association was last updated.
public ResourceShareAssociation withLastUpdatedTime(Date lastUpdatedTime)
The time when the association was last updated.
lastUpdatedTime
- The time when the association was last updated.public void setExternal(Boolean external)
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource share.
external
- Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the
resource share.public Boolean getExternal()
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource share.
public ResourceShareAssociation withExternal(Boolean external)
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource share.
external
- Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the
resource share.public Boolean isExternal()
Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource share.
public String toString()
toString
in class Object
Object.toString()
public ResourceShareAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.