Interface Summary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Summary.Builder,Summary>,SdkBuilder<Summary.Builder,Summary>,SdkPojo
- Enclosing class:
- Summary
public static interface Summary.Builder extends SdkPojo, CopyableBuilder<Summary.Builder,Summary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Summary.Builders3Object(Consumer<S3Object.Builder> s3Object)Sets the value of the S3Object property for this object.Summary.Builders3Object(S3Object s3Object)Sets the value of the S3Object property for this object.-
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 Detail
-
s3Object
Summary.Builder s3Object(S3Object s3Object)
Sets the value of the S3Object property for this object.- Parameters:
s3Object- The new value for the S3Object property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Object
default Summary.Builder s3Object(Consumer<S3Object.Builder> s3Object)
Sets the value of the S3Object property for this object. This is a convenience method that creates an instance of theS3Object.Builderavoiding the need to create one manually viaS3Object.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Object(S3Object).- Parameters:
s3Object- a consumer that will call methods onS3Object.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Object(S3Object)
-
-