Interface Attachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Attachment.Builder,Attachment>,SdkBuilder<Attachment.Builder,Attachment>,SdkPojo
- Enclosing class:
- Attachment
public static interface Attachment.Builder extends SdkPojo, CopyableBuilder<Attachment.Builder,Attachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Attachment.Builderdata(SdkBytes data)The content of the attachment file.Attachment.BuilderfileName(String fileName)The name of the attachment file.-
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, sdkFields
-
-
-
-
Method Detail
-
fileName
Attachment.Builder fileName(String fileName)
The name of the attachment file.
- Parameters:
fileName- The name of the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Attachment.Builder data(SdkBytes data)
The content of the attachment file.
- Parameters:
data- The content of the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-