Interface MetadataUpdates.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetadataUpdates.Builder,
,MetadataUpdates> SdkBuilder<MetadataUpdates.Builder,
,MetadataUpdates> SdkPojo
- Enclosing class:
MetadataUpdates
@Mutable
@NotThreadSafe
public static interface MetadataUpdates.Builder
extends SdkPojo, CopyableBuilder<MetadataUpdates.Builder,MetadataUpdates>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MetadataUpdates.Builder
dicomUpdates
(Consumer<DICOMUpdates.Builder> dicomUpdates) The object containingremovableAttributes
andupdatableAttributes
.dicomUpdates
(DICOMUpdates dicomUpdates) The object containingremovableAttributes
andupdatableAttributes
.revertToVersionId
(String revertToVersionId) Specifies the previous image set version ID to revert the current image set back to.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
-
dicomUpdates
The object containing
removableAttributes
andupdatableAttributes
.- Parameters:
dicomUpdates
- The object containingremovableAttributes
andupdatableAttributes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dicomUpdates
The object containing
This is a convenience method that creates an instance of theremovableAttributes
andupdatableAttributes
.DICOMUpdates.Builder
avoiding the need to create one manually viaDICOMUpdates.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todicomUpdates(DICOMUpdates)
.- Parameters:
dicomUpdates
- a consumer that will call methods onDICOMUpdates.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revertToVersionId
Specifies the previous image set version ID to revert the current image set back to.
You must provide either
revertToVersionId
orDICOMUpdates
in your request. AValidationException
error is thrown if both parameters are provided at the same time.- Parameters:
revertToVersionId
- Specifies the previous image set version ID to revert the current image set back to.You must provide either
revertToVersionId
orDICOMUpdates
in your request. AValidationException
error is thrown if both parameters are provided at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-