Class RelatedDocumentAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.RelatedDocumentAttachment.Builder
-
- Enclosing class:
- RelatedDocumentAttachment
public static class RelatedDocumentAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public RelatedDocumentAttachment.Builder id(String id)
-
compartmentId
public RelatedDocumentAttachment.Builder compartmentId(String compartmentId)
-
listingRevisionId
public RelatedDocumentAttachment.Builder listingRevisionId(String listingRevisionId)
-
displayName
public RelatedDocumentAttachment.Builder displayName(String displayName)
-
description
public RelatedDocumentAttachment.Builder description(String description)
-
lifecycleState
public RelatedDocumentAttachment.Builder lifecycleState(ListingRevisionAttachment.LifecycleState lifecycleState)
-
timeCreated
public RelatedDocumentAttachment.Builder timeCreated(Date timeCreated)
-
timeUpdated
public RelatedDocumentAttachment.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public RelatedDocumentAttachment.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public RelatedDocumentAttachment.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public RelatedDocumentAttachment.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
documentCategory
public RelatedDocumentAttachment.Builder documentCategory(RelatedDocumentAttachment.DocumentCategory documentCategory)
Possible lifecycle states.- Parameters:
documentCategory
- the value to set- Returns:
- this builder
-
contentUrl
public RelatedDocumentAttachment.Builder contentUrl(String contentUrl)
URL of the uploaded document.- Parameters:
contentUrl
- the value to set- Returns:
- this builder
-
mimeType
public RelatedDocumentAttachment.Builder mimeType(String mimeType)
The MIME type of the uploaded data.- Parameters:
mimeType
- the value to set- Returns:
- this builder
-
build
public RelatedDocumentAttachment build()
-
copy
public RelatedDocumentAttachment.Builder copy(RelatedDocumentAttachment model)
-
-