Interface UpdateApprovalActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateApprovalActionResponse.Builder,,UpdateApprovalActionResponse> DevOpsAgentResponse.Builder,SdkBuilder<UpdateApprovalActionResponse.Builder,,UpdateApprovalActionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateApprovalActionResponse
-
Method Summary
Modifier and TypeMethodDescriptionapprovalId(String approvalId) Identifier of the approval request that was resolved.Absolute timestamp at which the approval expires.Lifecycle status of the approval request immediately after submission.status(ApprovalStatus status) Lifecycle status of the approval request immediately after submission.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.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
-
approvalId
Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.
- Parameters:
approvalId- Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.
- Parameters:
status- Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.
- Parameters:
status- Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expiresAt
Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.
- Parameters:
expiresAt- Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-