Interface Update.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Update.Builder,,Update> SdkBuilder<Update.Builder,,Update> SdkPojo
- Enclosing class:
Update
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the update was created.errorDetails(Collection<ErrorDetail> errorDetails) The causes of the failure.errorDetails(Consumer<ErrorDetail.Builder>... errorDetails) The causes of the failure.errorDetails(ErrorDetail... errorDetails) The causes of the failure.default Update.Builderparameters(Consumer<UpdateParameters.Builder> parameters) The changes that the update requested.parameters(UpdateParameters parameters) The changes that the update requested.The status of the update.status(UpdateStatus status) The status of the update.default Update.Buildertarget(Consumer<UpdateTarget.Builder> target) The resource that the update targeted.target(UpdateTarget target) The resource that the update targeted.The type of change.type(UpdateType type) The type of change.The unique identifier of the update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
updateId
The unique identifier of the update.
- Parameters:
updateId- The unique identifier of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of change.
- Parameters:
type- The type of change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of change.
- Parameters:
type- The type of change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the update.
- Parameters:
status- The status of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the update.
- Parameters:
status- The status of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The resource that the update targeted.
- Parameters:
target- The resource that the update targeted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The resource that the update targeted.
This is a convenience method that creates an instance of theUpdateTarget.Builderavoiding the need to create one manually viaUpdateTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(UpdateTarget).- Parameters:
target- a consumer that will call methods onUpdateTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp of when the update was created.
- Parameters:
createdAt- The timestamp of when the update was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The changes that the update requested.
- Parameters:
parameters- The changes that the update requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The changes that the update requested.
This is a convenience method that creates an instance of theUpdateParameters.Builderavoiding the need to create one manually viaUpdateParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(UpdateParameters).- Parameters:
parameters- a consumer that will call methods onUpdateParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorDetails
The causes of the failure. Present only when the update has failed.
- Parameters:
errorDetails- The causes of the failure. Present only when the update has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The causes of the failure. Present only when the update has failed.
- Parameters:
errorDetails- The causes of the failure. Present only when the update has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The causes of the failure. Present only when the update has failed.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetails(List<ErrorDetail>).- Parameters:
errorDetails- 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:
-