Interface CollaborationChangeRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CollaborationChangeRequest.Builder,
,CollaborationChangeRequest> SdkBuilder<CollaborationChangeRequest.Builder,
,CollaborationChangeRequest> SdkPojo
- Enclosing class:
CollaborationChangeRequest
-
Method Summary
Modifier and TypeMethodDescriptionchanges
(Collection<Change> changes) The list of changes specified in this change request.changes
(Consumer<Change.Builder>... changes) The list of changes specified in this change request.The list of changes specified in this change request.collaborationId
(String collaborationId) The unique identifier for the collaboration being modified.createTime
(Instant createTime) The time when the change request was created.The unique identifier for the change request.isAutoApproved
(Boolean isAutoApproved) Whether the change request was automatically approved based on the collaboration's auto-approval settings.The current status of the change request.status
(ChangeRequestStatus status) The current status of the change request.updateTime
(Instant updateTime) The time when the change request was last updated.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
-
id
The unique identifier for the change request.
- Parameters:
id
- The unique identifier for the change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationId
The unique identifier for the collaboration being modified.
- Parameters:
collaborationId
- The unique identifier for the collaboration being modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time when the change request was created.
- Parameters:
createTime
- The time when the change request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
The time when the change request was last updated.
- Parameters:
updateTime
- The time when the change request was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the change request. Valid values are
PENDING
,APPROVED
,DENIED
,COMMITTED
, andCANCELLED
.- Parameters:
status
- The current status of the change request. Valid values arePENDING
,APPROVED
,DENIED
,COMMITTED
, andCANCELLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the change request. Valid values are
PENDING
,APPROVED
,DENIED
,COMMITTED
, andCANCELLED
.- Parameters:
status
- The current status of the change request. Valid values arePENDING
,APPROVED
,DENIED
,COMMITTED
, andCANCELLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isAutoApproved
Whether the change request was automatically approved based on the collaboration's auto-approval settings.
- Parameters:
isAutoApproved
- Whether the change request was automatically approved based on the collaboration's auto-approval settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
The list of changes specified in this change request.
- Parameters:
changes
- The list of changes specified in this change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
The list of changes specified in this change request.
- Parameters:
changes
- The list of changes specified in this change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
The list of changes specified in this change request.
This is a convenience method that creates an instance of theChange.Builder
avoiding the need to create one manually viaChange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochanges(List<Change>)
.- Parameters:
changes
- a consumer that will call methods onChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-