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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChangeSummary.BuilderchangeName(String changeName)Optional name for the change.ChangeSummary.BuilderchangeType(String changeType)The type of the change.ChangeSummary.Builderdetails(String details)This object contains details specific to the change type of the requested change.ChangeSummary.BuilderdetailsDocument(Document detailsDocument)The JSON value of the details specific to the change type of the requested change.default ChangeSummary.Builderentity(Consumer<Entity.Builder> entity)The entity to be changed.ChangeSummary.Builderentity(Entity entity)The entity to be changed.ChangeSummary.BuildererrorDetailList(Collection<ErrorDetail> errorDetailList)An array ofErrorDetailobjects associated with the change.ChangeSummary.BuildererrorDetailList(Consumer<ErrorDetail.Builder>... errorDetailList)An array ofErrorDetailobjects associated with the change.ChangeSummary.BuildererrorDetailList(ErrorDetail... errorDetailList)An array ofErrorDetailobjects 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 Detail
-
changeType
ChangeSummary.Builder changeType(String 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
ChangeSummary.Builder entity(Entity 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
default ChangeSummary.Builder entity(Consumer<Entity.Builder> entity)
The entity to be changed.
This is a convenience method that creates an instance of theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the
Consumercompletes,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:
entity(Entity)
-
details
ChangeSummary.Builder details(String 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
ChangeSummary.Builder detailsDocument(Document 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
ChangeSummary.Builder errorDetailList(Collection<ErrorDetail> errorDetailList)
An array of
ErrorDetailobjects associated with the change.- Parameters:
errorDetailList- An array ofErrorDetailobjects associated with the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
ChangeSummary.Builder errorDetailList(ErrorDetail... errorDetailList)
An array of
ErrorDetailobjects associated with the change.- Parameters:
errorDetailList- An array ofErrorDetailobjects associated with the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
ChangeSummary.Builder errorDetailList(Consumer<ErrorDetail.Builder>... errorDetailList)
An array of
This is a convenience method that creates an instance of theErrorDetailobjects associated with the change.ErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errorDetailList(List.) - 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:
#errorDetailList(java.util.Collection)
-
changeName
ChangeSummary.Builder changeName(String 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.
-
-