Interface GetApprovalTeamResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetApprovalTeamResponse.Builder,,GetApprovalTeamResponse> MpaResponse.Builder,SdkBuilder<GetApprovalTeamResponse.Builder,,GetApprovalTeamResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetApprovalTeamResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetApprovalTeamResponse.BuilderapprovalStrategy(Consumer<ApprovalStrategyResponse.Builder> approvalStrategy) AnApprovalStrategyResponseobject.approvalStrategy(ApprovalStrategyResponse approvalStrategy) AnApprovalStrategyResponseobject.approvers(Collection<GetApprovalTeamResponseApprover> approvers) An array ofGetApprovalTeamResponseApproverobjects.approvers(Consumer<GetApprovalTeamResponseApprover.Builder>... approvers) An array ofGetApprovalTeamResponseApproverobjects.approvers(GetApprovalTeamResponseApprover... approvers) An array ofGetApprovalTeamResponseApproverobjects.Amazon Resource Name (ARN) for the team.creationTime(Instant creationTime) Timestamp when the team was created.description(String description) Description for the team.lastUpdateTime(Instant lastUpdateTime) Timestamp when the team was last updated.Name of the approval team.numberOfApprovers(Integer numberOfApprovers) Total number of approvers in the team.default GetApprovalTeamResponse.BuilderpendingUpdate(Consumer<PendingUpdate.Builder> pendingUpdate) APendingUpdateobject.pendingUpdate(PendingUpdate pendingUpdate) APendingUpdateobject.policies(Collection<PolicyReference> policies) An array ofPolicyReferenceobjects.policies(Consumer<PolicyReference.Builder>... policies) An array ofPolicyReferenceobjects.policies(PolicyReference... policies) An array ofPolicyReferenceobjects.Status for the team.status(ApprovalTeamStatus status) Status for the team.statusCode(String statusCode) Status code for the approval team.statusCode(ApprovalTeamStatusCode statusCode) Status code for the approval team.statusMessage(String statusMessage) Message describing the status for the team.updateSessionArn(String updateSessionArn) Amazon Resource Name (ARN) for the session.Version ID for the team.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mpa.model.MpaResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
creationTime
Timestamp when the team was created.
- Parameters:
creationTime- Timestamp when the team was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalStrategy
An
ApprovalStrategyResponseobject. Contains details for how the team grants approval.- Parameters:
approvalStrategy- AnApprovalStrategyResponseobject. Contains details for how the team grants approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalStrategy
default GetApprovalTeamResponse.Builder approvalStrategy(Consumer<ApprovalStrategyResponse.Builder> approvalStrategy) An
This is a convenience method that creates an instance of theApprovalStrategyResponseobject. Contains details for how the team grants approval.ApprovalStrategyResponse.Builderavoiding the need to create one manually viaApprovalStrategyResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapprovalStrategy(ApprovalStrategyResponse).- Parameters:
approvalStrategy- a consumer that will call methods onApprovalStrategyResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberOfApprovers
Total number of approvers in the team.
- Parameters:
numberOfApprovers- Total number of approvers in the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvers
An array of
GetApprovalTeamResponseApproverobjects. Contains details for the approvers in the team.- Parameters:
approvers- An array ofGetApprovalTeamResponseApproverobjects. Contains details for the approvers in the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvers
An array of
GetApprovalTeamResponseApproverobjects. Contains details for the approvers in the team.- Parameters:
approvers- An array ofGetApprovalTeamResponseApproverobjects. Contains details for the approvers in the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvers
GetApprovalTeamResponse.Builder approvers(Consumer<GetApprovalTeamResponseApprover.Builder>... approvers) An array of
This is a convenience method that creates an instance of theGetApprovalTeamResponseApproverobjects. Contains details for the approvers in the team.GetApprovalTeamResponseApprover.Builderavoiding the need to create one manually viaGetApprovalTeamResponseApprover.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapprovers(List<GetApprovalTeamResponseApprover>).- Parameters:
approvers- a consumer that will call methods onGetApprovalTeamResponseApprover.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
Amazon Resource Name (ARN) for the team.
- Parameters:
arn- Amazon Resource Name (ARN) for the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Description for the team.
- Parameters:
description- Description for the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of the approval team.
- Parameters:
name- Name of the approval team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status for the team. For more information, see Team health in the Multi-party approval User Guide.
- Parameters:
status- Status for the team. For more information, see Team health in the Multi-party approval User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status for the team. For more information, see Team health in the Multi-party approval User Guide.
- Parameters:
status- Status for the team. For more information, see Team health in the Multi-party approval User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
Status code for the approval team. For more information, see Team health in the Multi-party approval User Guide.
- Parameters:
statusCode- Status code for the approval team. For more information, see Team health in the Multi-party approval User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
Status code for the approval team. For more information, see Team health in the Multi-party approval User Guide.
- Parameters:
statusCode- Status code for the approval team. For more information, see Team health in the Multi-party approval User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Message describing the status for the team.
- Parameters:
statusMessage- Message describing the status for the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateSessionArn
Amazon Resource Name (ARN) for the session.
- Parameters:
updateSessionArn- Amazon Resource Name (ARN) for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
Version ID for the team.
- Parameters:
versionId- Version ID for the team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
An array of
PolicyReferenceobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Parameters:
policies- An array ofPolicyReferenceobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
An array of
PolicyReferenceobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Parameters:
policies- An array ofPolicyReferenceobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
An array of
PolicyReferenceobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
This is a convenience method that creates an instance of thePolicyReference.Builderavoiding the need to create one manually viaPolicyReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicies(List<PolicyReference>).- Parameters:
policies- a consumer that will call methods onPolicyReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdateTime
Timestamp when the team was last updated.
- Parameters:
lastUpdateTime- Timestamp when the team was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingUpdate
A
PendingUpdateobject. Contains details for the pending updates for the team, if applicable.- Parameters:
pendingUpdate- APendingUpdateobject. Contains details for the pending updates for the team, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingUpdate
default GetApprovalTeamResponse.Builder pendingUpdate(Consumer<PendingUpdate.Builder> pendingUpdate) A
This is a convenience method that creates an instance of thePendingUpdateobject. Contains details for the pending updates for the team, if applicable.PendingUpdate.Builderavoiding the need to create one manually viaPendingUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topendingUpdate(PendingUpdate).- Parameters:
pendingUpdate- a consumer that will call methods onPendingUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-