Interface AttachmentContent.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AttachmentContent.Builder,AttachmentContent>
,SdkBuilder<AttachmentContent.Builder,AttachmentContent>
,SdkPojo
- Enclosing class:
- AttachmentContent
public static interface AttachmentContent.Builder extends SdkPojo, CopyableBuilder<AttachmentContent.Builder,AttachmentContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachmentContent.Builder
hash(String hash)
The cryptographic hash value of the document content.AttachmentContent.Builder
hashType(String hashType)
The hash algorithm used to calculate the hash value.AttachmentContent.Builder
hashType(AttachmentHashType hashType)
The hash algorithm used to calculate the hash value.AttachmentContent.Builder
name(String name)
The name of an attachment.AttachmentContent.Builder
size(Long size)
The size of an attachment in bytes.AttachmentContent.Builder
url(String url)
The URL location of the attachment content.-
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
-
name
AttachmentContent.Builder name(String name)
The name of an attachment.
- Parameters:
name
- The name of an attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
AttachmentContent.Builder size(Long size)
The size of an attachment in bytes.
- Parameters:
size
- The size of an attachment in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hash
AttachmentContent.Builder hash(String hash)
The cryptographic hash value of the document content.
- Parameters:
hash
- The cryptographic hash value of the document content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hashType
AttachmentContent.Builder hashType(String hashType)
The hash algorithm used to calculate the hash value.
- Parameters:
hashType
- The hash algorithm used to calculate the hash value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttachmentHashType
,AttachmentHashType
-
hashType
AttachmentContent.Builder hashType(AttachmentHashType hashType)
The hash algorithm used to calculate the hash value.
- Parameters:
hashType
- The hash algorithm used to calculate the hash value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttachmentHashType
,AttachmentHashType
-
url
AttachmentContent.Builder url(String url)
The URL location of the attachment content.
- Parameters:
url
- The URL location of the attachment content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-