Class CreateAttachmentDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplaceprivateoffer.model.CreateAttachmentDetails.Builder
 
- 
- Enclosing class:
- CreateAttachmentDetails
 
 public static class CreateAttachmentDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
fileBase64Encodedpublic 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
 
 - 
displayNamepublic CreateAttachmentDetails.Builder displayName(String displayName) The name used to refer to the uploaded data.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typepublic CreateAttachmentDetails.Builder type(Attachment.Type type) The type of offer attachment.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateAttachmentDetails build() 
 - 
copypublic CreateAttachmentDetails.Builder copy(CreateAttachmentDetails model) 
 
- 
 
-