Interface GetInvitationResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetInvitationResponse.Builder,,GetInvitationResponse> SdkBuilder<GetInvitationResponse.Builder,,GetInvitationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInvitationResponse
@Mutable
@NotThreadSafe
public static interface GetInvitationResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<GetInvitationResponse.Builder,GetInvitationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe time when you created the invitation.environmentArn(String environmentArn) The ARN of the environment that extended the invitation to you.The time when the invitation expires if not accepted.inviteeAccountId(String inviteeAccountId) The ID of the invited AWS account.The ARN of the role that AWS Assurance assumes in the invitee account.The current lifecycle state of the invitation.status(InvitationStatus status) The current lifecycle state of the invitation.The time when the invitation last changed state (accept, reject, or revoke).Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
environmentArn
The ARN of the environment that extended the invitation to you. Use this value to identify the environment or owner account inviting you.
- Parameters:
environmentArn- The ARN of the environment that extended the invitation to you. Use this value to identify the environment or owner account inviting you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inviteeAccountId
The ID of the invited AWS account.
- Parameters:
inviteeAccountId- The ID of the invited AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle state of the invitation.
- Parameters:
status- The current lifecycle state of the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle state of the invitation.
- Parameters:
status- The current lifecycle state of the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the role that AWS Assurance assumes in the invitee account. Present only when status is ACTIVE.
- Parameters:
roleArn- The ARN of the role that AWS Assurance assumes in the invitee account. Present only when status is ACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time when you created the invitation. If you called
CreateInvitationagain after the invitation was rejected, revoked, or expired, this is the time of your most recent call.- Parameters:
createdAt- The time when you created the invitation. If you calledCreateInvitationagain after the invitation was rejected, revoked, or expired, this is the time of your most recent call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The time when the invitation expires if not accepted.
- Parameters:
expiresAt- The time when the invitation expires if not accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the invitation last changed state (accept, reject, or revoke).
- Parameters:
updatedAt- The time when the invitation last changed state (accept, reject, or revoke).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-