Interface PendingUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PendingUpdate.Builder,
,PendingUpdate> SdkBuilder<PendingUpdate.Builder,
,PendingUpdate> SdkPojo
- Enclosing class:
PendingUpdate
-
Method Summary
Modifier and TypeMethodDescriptiondefault PendingUpdate.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.description
(String description) Description for the team.numberOfApprovers
(Integer numberOfApprovers) Total number of approvers in the team.Status for the team.status
(ApprovalTeamStatus status) Status for the team.statusCode
(String statusCode) Status code for the update.statusCode
(ApprovalTeamStatusCode statusCode) Status code for the update.statusMessage
(String statusMessage) Message describing the status for the team.updateInitiationTime
(Instant updateInitiationTime) Timestamp when the update request was initiated.Version ID for the team.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
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 PendingUpdate.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.
-
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 update. For more information, see Team health in the Multi-party approval User Guide.
- Parameters:
statusCode
- Status code for the update. 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 update. For more information, see Team health in the Multi-party approval User Guide.
- Parameters:
statusCode
- Status code for the update. 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.
-
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
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:
-
updateInitiationTime
Timestamp when the update request was initiated.
- Parameters:
updateInitiationTime
- Timestamp when the update request was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-