Interface Difference.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Difference.Builder,Difference>,SdkBuilder<Difference.Builder,Difference>,SdkPojo
- Enclosing class:
- Difference
public static interface Difference.Builder extends SdkPojo, CopyableBuilder<Difference.Builder,Difference>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Difference.BuilderafterBlob(Consumer<BlobMetadata.Builder> afterBlob)Information about anafterBlobdata type object, including the ID, the file mode permission code, and the path.Difference.BuilderafterBlob(BlobMetadata afterBlob)Information about anafterBlobdata type object, including the ID, the file mode permission code, and the path.default Difference.BuilderbeforeBlob(Consumer<BlobMetadata.Builder> beforeBlob)Information about abeforeBlobdata type object, including the ID, the file mode permission code, and the path.Difference.BuilderbeforeBlob(BlobMetadata beforeBlob)Information about abeforeBlobdata type object, including the ID, the file mode permission code, and the path.Difference.BuilderchangeType(String changeType)Whether the change type of the difference is an addition (A), deletion (D), or modification (M).Difference.BuilderchangeType(ChangeTypeEnum changeType)Whether the change type of the difference is an addition (A), deletion (D), or modification (M).-
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
-
beforeBlob
Difference.Builder beforeBlob(BlobMetadata beforeBlob)
Information about a
beforeBlobdata type object, including the ID, the file mode permission code, and the path.- Parameters:
beforeBlob- Information about abeforeBlobdata type object, including the ID, the file mode permission code, and the path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeBlob
default Difference.Builder beforeBlob(Consumer<BlobMetadata.Builder> beforeBlob)
Information about a
This is a convenience method that creates an instance of thebeforeBlobdata type object, including the ID, the file mode permission code, and the path.BlobMetadata.Builderavoiding the need to create one manually viaBlobMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobeforeBlob(BlobMetadata).- Parameters:
beforeBlob- a consumer that will call methods onBlobMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
beforeBlob(BlobMetadata)
-
afterBlob
Difference.Builder afterBlob(BlobMetadata afterBlob)
Information about an
afterBlobdata type object, including the ID, the file mode permission code, and the path.- Parameters:
afterBlob- Information about anafterBlobdata type object, including the ID, the file mode permission code, and the path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterBlob
default Difference.Builder afterBlob(Consumer<BlobMetadata.Builder> afterBlob)
Information about an
This is a convenience method that creates an instance of theafterBlobdata type object, including the ID, the file mode permission code, and the path.BlobMetadata.Builderavoiding the need to create one manually viaBlobMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toafterBlob(BlobMetadata).- Parameters:
afterBlob- a consumer that will call methods onBlobMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
afterBlob(BlobMetadata)
-
changeType
Difference.Builder changeType(String changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
- Parameters:
changeType- Whether the change type of the difference is an addition (A), deletion (D), or modification (M).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeTypeEnum,ChangeTypeEnum
-
changeType
Difference.Builder changeType(ChangeTypeEnum changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
- Parameters:
changeType- Whether the change type of the difference is an addition (A), deletion (D), or modification (M).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeTypeEnum,ChangeTypeEnum
-
-