Class CreateAttachmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplaceprivateoffer.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 CreateAttachmentDetailsbuild()CreateAttachmentDetails.Buildercopy(CreateAttachmentDetails model)CreateAttachmentDetails.BuilderdisplayName(String displayName)The name used to refer to the uploaded data.CreateAttachmentDetails.BuilderfileBase64Encoded(byte[] fileBase64Encoded)Base64-encoded file to attach to the Offer.CreateAttachmentDetails.Buildertype(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)
-
-