Class QuoteAttachmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachmentSummary.Builder
-
- Enclosing class:
- QuoteAttachmentSummary
public static class QuoteAttachmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuoteAttachmentSummarybuild()QuoteAttachmentSummary.Buildercopy(QuoteAttachmentSummary model)QuoteAttachmentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.QuoteAttachmentSummary.BuilderdisplayName(String displayName)The name used to refer to the uploaded data.QuoteAttachmentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.QuoteAttachmentSummary.Builderid(String id)Unique identifier that is immutable on creation.QuoteAttachmentSummary.BuilderisvCompartmentId(String isvCompartmentId)OCID of the ISV’s tenancy (root compartment).QuoteAttachmentSummary.BuilderlifecycleDetails(String lifecycleDetails)Provides detailed information about the current state of the offer quote attachment.QuoteAttachmentSummary.BuilderlifecycleState(QuoteAttachment.LifecycleState lifecycleState)The current state of the offer quote attachment.QuoteAttachmentSummary.BuildermimeType(String mimeType)The MIME type of the uploaded data.QuoteAttachmentSummary.BuilderofferQuoteId(String offerQuoteId)Unique identifier of the associated offer quote that is immutable on creation.QuoteAttachmentSummary.Builderrecipient(QuoteAttachment.Recipient recipient)The current state of the offer quote attachment.QuoteAttachmentSummary.BuilderresellerCompartmentId(String resellerCompartmentId)OCID of the reseller’s tenancy (root compartment).QuoteAttachmentSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.QuoteAttachmentSummary.BuildertimeCreated(Date timeCreated)The time the offer quote attachment was created.QuoteAttachmentSummary.BuildertimeUpdated(Date timeUpdated)The time the offer quote attachment was updated.QuoteAttachmentSummary.Buildertype(QuoteAttachment.Type type)The type of offer quote attachment.
-
-
-
Method Detail
-
id
public QuoteAttachmentSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
offerQuoteId
public QuoteAttachmentSummary.Builder offerQuoteId(String offerQuoteId)
Unique identifier of the associated offer quote that is immutable on creation.- Parameters:
offerQuoteId- the value to set- Returns:
- this builder
-
resellerCompartmentId
public QuoteAttachmentSummary.Builder resellerCompartmentId(String resellerCompartmentId)
OCID of the reseller’s tenancy (root compartment).- Parameters:
resellerCompartmentId- the value to set- Returns:
- this builder
-
isvCompartmentId
public QuoteAttachmentSummary.Builder isvCompartmentId(String isvCompartmentId)
OCID of the ISV’s tenancy (root compartment).- Parameters:
isvCompartmentId- the value to set- Returns:
- this builder
-
displayName
public QuoteAttachmentSummary.Builder displayName(String displayName)
The name used to refer to the uploaded data.- Parameters:
displayName- the value to set- Returns:
- this builder
-
type
public QuoteAttachmentSummary.Builder type(QuoteAttachment.Type type)
The type of offer quote attachment.- Parameters:
type- the value to set- Returns:
- this builder
-
timeCreated
public QuoteAttachmentSummary.Builder timeCreated(Date timeCreated)
The time the offer quote attachment was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public QuoteAttachmentSummary.Builder timeUpdated(Date timeUpdated)
The time the offer quote attachment was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public QuoteAttachmentSummary.Builder lifecycleState(QuoteAttachment.LifecycleState lifecycleState)
The current state of the offer quote attachment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public QuoteAttachmentSummary.Builder lifecycleDetails(String lifecycleDetails)
Provides detailed information about the current state of the offer quote attachment.For example, if the offer quote attachment is in a failed state this message can include specific validation errors.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
mimeType
public QuoteAttachmentSummary.Builder mimeType(String mimeType)
The MIME type of the uploaded data.- Parameters:
mimeType- the value to set- Returns:
- this builder
-
recipient
public QuoteAttachmentSummary.Builder recipient(QuoteAttachment.Recipient recipient)
The current state of the offer quote attachment.- Parameters:
recipient- the value to set- Returns:
- this builder
-
freeformTags
public QuoteAttachmentSummary.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 QuoteAttachmentSummary.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 QuoteAttachmentSummary.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 QuoteAttachmentSummary build()
-
copy
public QuoteAttachmentSummary.Builder copy(QuoteAttachmentSummary model)
-
-