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.Builder
approvalStrategy
(Consumer<ApprovalStrategyResponse.Builder> approvalStrategy) AnApprovalStrategyResponse
object.approvalStrategy
(ApprovalStrategyResponse approvalStrategy) AnApprovalStrategyResponse
object.approvers
(Collection<GetApprovalTeamResponseApprover> approvers) An array ofGetApprovalTeamResponseApprover
objects.approvers
(Consumer<GetApprovalTeamResponseApprover.Builder>... approvers) An array ofGetApprovalTeamResponseApprover
objects.approvers
(GetApprovalTeamResponseApprover... approvers) An array ofGetApprovalTeamResponseApprover
objects.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.Builder
pendingUpdate
(Consumer<PendingUpdate.Builder> pendingUpdate) APendingUpdate
object.pendingUpdate
(PendingUpdate pendingUpdate) APendingUpdate
object.policies
(Collection<PolicyReference> policies) An array ofPolicyReference
objects.policies
(Consumer<PolicyReference.Builder>... policies) An array ofPolicyReference
objects.policies
(PolicyReference... policies) An array ofPolicyReference
objects.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
copy
Methods inherited from interface software.amazon.awssdk.services.mpa.model.MpaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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
ApprovalStrategyResponse
object. Contains details for how the team grants approval.- Parameters:
approvalStrategy
- AnApprovalStrategyResponse
object. 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 theApprovalStrategyResponse
object. Contains details for how the team grants approval.ApprovalStrategyResponse.Builder
avoiding the need to create one manually viaApprovalStrategyResponse.builder()
.When the
Consumer
completes,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
GetApprovalTeamResponseApprover
objects. Contains details for the approvers in the team.- Parameters:
approvers
- An array ofGetApprovalTeamResponseApprover
objects. 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
GetApprovalTeamResponseApprover
objects. Contains details for the approvers in the team.- Parameters:
approvers
- An array ofGetApprovalTeamResponseApprover
objects. 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 theGetApprovalTeamResponseApprover
objects. Contains details for the approvers in the team.GetApprovalTeamResponseApprover.Builder
avoiding the need to create one manually viaGetApprovalTeamResponseApprover.builder()
.When the
Consumer
completes,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
PolicyReference
objects. 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 ofPolicyReference
objects. 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
PolicyReference
objects. 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 ofPolicyReference
objects. 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
PolicyReference
objects. 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.Builder
avoiding the need to create one manually viaPolicyReference.builder()
.When the
Consumer
completes,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
PendingUpdate
object. Contains details for the pending updates for the team, if applicable.- Parameters:
pendingUpdate
- APendingUpdate
object. 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 thePendingUpdate
object. Contains details for the pending updates for the team, if applicable.PendingUpdate.Builder
avoiding the need to create one manually viaPendingUpdate.builder()
.When the
Consumer
completes,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:
-