Interface ResourceShareAssociation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>,SdkBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>,SdkPojo
- Enclosing class:
- ResourceShareAssociation
public static interface ResourceShareAssociation.Builder extends SdkPojo, CopyableBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceShareAssociation.BuilderassociatedEntity(String associatedEntity)The associated entity.ResourceShareAssociation.BuilderassociationType(String associationType)The type of entity included in this association.ResourceShareAssociation.BuilderassociationType(ResourceShareAssociationType associationType)The type of entity included in this association.ResourceShareAssociation.BuildercreationTime(Instant creationTime)The date and time when the association was created.ResourceShareAssociation.Builderexternal(Boolean external)Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.ResourceShareAssociation.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time when the association was last updated.ResourceShareAssociation.BuilderresourceShareArn(String resourceShareArn)The Amazon Resource Name (ARN) of the resource share.ResourceShareAssociation.BuilderresourceShareName(String resourceShareName)The name of the resource share.ResourceShareAssociation.Builderstatus(String status)The current status of the association.ResourceShareAssociation.Builderstatus(ResourceShareAssociationStatus status)The current status of the association.ResourceShareAssociation.BuilderstatusMessage(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 Detail
-
resourceShareArn
ResourceShareAssociation.Builder resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
- Parameters:
resourceShareArn- The Amazon Resource Name (ARN) of the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareName
ResourceShareAssociation.Builder resourceShareName(String resourceShareName)
The name of the resource share.
- Parameters:
resourceShareName- The name of the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedEntity
ResourceShareAssociation.Builder associatedEntity(String 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
ResourceShareAssociation.Builder associationType(String 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:
ResourceShareAssociationType,ResourceShareAssociationType
-
associationType
ResourceShareAssociation.Builder associationType(ResourceShareAssociationType 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:
ResourceShareAssociationType,ResourceShareAssociationType
-
status
ResourceShareAssociation.Builder status(String 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:
ResourceShareAssociationStatus,ResourceShareAssociationStatus
-
status
ResourceShareAssociation.Builder status(ResourceShareAssociationStatus 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:
ResourceShareAssociationStatus,ResourceShareAssociationStatus
-
statusMessage
ResourceShareAssociation.Builder statusMessage(String 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
ResourceShareAssociation.Builder creationTime(Instant 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
ResourceShareAssociation.Builder lastUpdatedTime(Instant 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
ResourceShareAssociation.Builder external(Boolean 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.
-
-