Class ListingRevisionAttachmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ListingRevisionAttachmentSummary.Builder
-
- Enclosing class:
- ListingRevisionAttachmentSummary
public static class ListingRevisionAttachmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public ListingRevisionAttachmentSummary.Builder id(String id)
The OCID of the listing revision attachment.- Parameters:
id
- the value to set- Returns:
- this builder
-
listingRevisionId
public ListingRevisionAttachmentSummary.Builder listingRevisionId(String listingRevisionId)
The ID of the listing revision.- Parameters:
listingRevisionId
- the value to set- Returns:
- this builder
-
compartmentId
public ListingRevisionAttachmentSummary.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ListingRevisionAttachmentSummary.Builder displayName(String displayName)
The name of the specified document.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
attachmentType
public ListingRevisionAttachmentSummary.Builder attachmentType(ListingRevisionAttachment.AttachmentType attachmentType)
The specified attachment type.- Parameters:
attachmentType
- the value to set- Returns:
- this builder
-
contentUrl
public ListingRevisionAttachmentSummary.Builder contentUrl(String contentUrl)
The URL of the specified attachment.- Parameters:
contentUrl
- the value to set- Returns:
- this builder
-
mimeType
public ListingRevisionAttachmentSummary.Builder mimeType(String mimeType)
The MIME type of the screenshot.- Parameters:
mimeType
- the value to set- Returns:
- this builder
-
lifecycleState
public ListingRevisionAttachmentSummary.Builder lifecycleState(ListingRevisionAttachment.LifecycleState lifecycleState)
The current state of the document.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ListingRevisionAttachmentSummary.Builder timeCreated(Date timeCreated)
The date and time the related document was created, expressed in RFC 3339 timestamp format.Example: 2022-09-24T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ListingRevisionAttachmentSummary.Builder timeUpdated(Date timeUpdated)
The date and time the related document was updated, expressed in RFC 3339 timestamp format.Example: 2022-09-24T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public ListingRevisionAttachmentSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ListingRevisionAttachmentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public ListingRevisionAttachmentSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ListingRevisionAttachmentSummary build()
-
copy
public ListingRevisionAttachmentSummary.Builder copy(ListingRevisionAttachmentSummary model)
-
-