Class CreateAttachmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.CreateAttachmentDetails.Builder
-
- Enclosing class:
- CreateAttachmentDetails
public static class CreateAttachmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAttachmentDetails
build()
CreateAttachmentDetails.Builder
copy(CreateAttachmentDetails model)
CreateAttachmentDetails.Builder
displayName(String displayName)
The name used to refer to the uploaded data.CreateAttachmentDetails.Builder
fileBase64Encoded(byte[] fileBase64Encoded)
Base64-encoded file to attach to the Offer.CreateAttachmentDetails.Builder
type(Attachment.Type type)
The type of offer attachment.
-
-
-
Method Detail
-
fileBase64Encoded
public CreateAttachmentDetails.Builder fileBase64Encoded(byte[] fileBase64Encoded)
Base64-encoded file to attach to the Offer.File must be a PDF with maximum size of 1 MB
- Parameters:
fileBase64Encoded
- the value to set- Returns:
- this builder
-
displayName
public CreateAttachmentDetails.Builder displayName(String displayName)
The name used to refer to the uploaded data.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
type
public CreateAttachmentDetails.Builder type(Attachment.Type type)
The type of offer attachment.- Parameters:
type
- the value to set- Returns:
- this builder
-
build
public CreateAttachmentDetails build()
-
copy
public CreateAttachmentDetails.Builder copy(CreateAttachmentDetails model)
-
-