Interface OverrideConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OverrideConfiguration.Builder,,OverrideConfiguration> SdkBuilder<OverrideConfiguration.Builder,,OverrideConfiguration> SdkPojo
- Enclosing class:
OverrideConfiguration
public static interface OverrideConfiguration.Builder
extends SdkPojo, CopyableBuilder<OverrideConfiguration.Builder,OverrideConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OverrideConfiguration.BuilderSets the value of the Document property for this object.document(DocumentOverrideConfiguration document) Sets the value of the Document property for this object.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
-
document
Sets the value of the Document property for this object.- Parameters:
document- The new value for the Document property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
default OverrideConfiguration.Builder document(Consumer<DocumentOverrideConfiguration.Builder> document) Sets the value of the Document property for this object. This is a convenience method that creates an instance of theDocumentOverrideConfiguration.Builderavoiding the need to create one manually viaDocumentOverrideConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocument(DocumentOverrideConfiguration).- Parameters:
document- a consumer that will call methods onDocumentOverrideConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-