Interface ResourceShareAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceShareAssociation.Builder,
,ResourceShareAssociation> SdkBuilder<ResourceShareAssociation.Builder,
,ResourceShareAssociation> SdkPojo
- Enclosing class:
ResourceShareAssociation
-
Method Summary
Modifier and TypeMethodDescriptionassociatedEntity
(String associatedEntity) The associated entity.associationType
(String associationType) The type of entity included in this association.associationType
(ResourceShareAssociationType associationType) The type of entity included in this association.creationTime
(Instant creationTime) The date and time when the association was created.Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.lastUpdatedTime
(Instant lastUpdatedTime) The date and time when the association was last updated.resourceShareArn
(String resourceShareArn) The Amazon Resource Name (ARN) of the resource share.resourceShareName
(String resourceShareName) The name of the resource share.The current status of the association.status
(ResourceShareAssociationStatus status) The current status of the association.statusMessage
(String statusMessage) A message about the status of the association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
associatedEntity
The associated entity. This can be either of the following:
-
For a resource association, this is the Amazon Resource Name (ARN) of the resource.
-
For principal associations, this is one of the following:
-
The ID of an Amazon Web Services account
-
The Amazon Resource Name (ARN) of an organization in Organizations
-
The ARN of an organizational unit (OU) in Organizations
-
The ARN of an IAM role
-
The ARN of an IAM user
-
- Parameters:
associatedEntity
- The associated entity. This can be either of the following:-
For a resource association, this is the Amazon Resource Name (ARN) of the resource.
-
For principal associations, this is one of the following:
-
The ID of an Amazon Web Services account
-
The Amazon Resource Name (ARN) of an organization in Organizations
-
The ARN of an organizational unit (OU) in Organizations
-
The ARN of an IAM role
-
The ARN of an IAM user
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
associationType
The type of entity included in this association.
- Parameters:
associationType
- The type of entity included in this association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the association.
- Parameters:
status
- The current status of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A message about the status of the association.
- Parameters:
statusMessage
- A message about the status of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time when the association was created.
- Parameters:
creationTime
- The date and time when the association was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date and time when the association was last updated.
- Parameters:
lastUpdatedTime
- The date and time when the association was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
external
Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.
- Parameters:
external
- Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.