Interface ChangeSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChangeSummary.Builder,
,ChangeSummary> SdkBuilder<ChangeSummary.Builder,
,ChangeSummary> SdkPojo
- Enclosing class:
ChangeSummary
public static interface ChangeSummary.Builder
extends SdkPojo, CopyableBuilder<ChangeSummary.Builder,ChangeSummary>
-
Method Summary
Modifier and TypeMethodDescriptionchangeName
(String changeName) Optional name for the change.changeType
(String changeType) The type of the change.This object contains details specific to the change type of the requested change.detailsDocument
(Document detailsDocument) The JSON value of the details specific to the change type of the requested change.default ChangeSummary.Builder
entity
(Consumer<Entity.Builder> entity) The entity to be changed.The entity to be changed.errorDetailList
(Collection<ErrorDetail> errorDetailList) An array ofErrorDetail
objects associated with the change.errorDetailList
(Consumer<ErrorDetail.Builder>... errorDetailList) An array ofErrorDetail
objects associated with the change.errorDetailList
(ErrorDetail... errorDetailList) An array ofErrorDetail
objects associated with the change.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, sdkFields
-
Method Details
-
changeType
The type of the change.
- Parameters:
changeType
- The type of the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The entity to be changed.
- Parameters:
entity
- The entity to be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The entity to be changed.
This is a convenience method that creates an instance of theEntity.Builder
avoiding the need to create one manually viaEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentity(Entity)
.- Parameters:
entity
- a consumer that will call methods onEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
details
This object contains details specific to the change type of the requested change.
- Parameters:
details
- This object contains details specific to the change type of the requested change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailsDocument
The JSON value of the details specific to the change type of the requested change.
- Parameters:
detailsDocument
- The JSON value of the details specific to the change type of the requested change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
An array of
ErrorDetail
objects associated with the change.- Parameters:
errorDetailList
- An array ofErrorDetail
objects associated with the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
An array of
ErrorDetail
objects associated with the change.- Parameters:
errorDetailList
- An array ofErrorDetail
objects associated with the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
An array of
This is a convenience method that creates an instance of theErrorDetail
objects associated with the change.ErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetailList(List<ErrorDetail>)
.- Parameters:
errorDetailList
- a consumer that will call methods onErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
changeName
Optional name for the change.
- Parameters:
changeName
- Optional name for the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-