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