Package com.oracle.bmc.multicloud.model
Class MulticloudSubscriptionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.multicloud.model.MulticloudSubscriptionSummary.Builder
-
- Enclosing class:
- MulticloudSubscriptionSummary
public static class MulticloudSubscriptionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MulticloudSubscriptionSummary.BuilderactiveCommitment(String activeCommitment)Total value for the subscription.MulticloudSubscriptionSummarybuild()MulticloudSubscriptionSummary.BuilderclassicSubscriptionId(String classicSubscriptionId)Subscription ID for OCI and Partner cloud in classic format.MulticloudSubscriptionSummary.Buildercopy(MulticloudSubscriptionSummary model)MulticloudSubscriptionSummary.BuildercspAdditionalProperties(Map<String,String> cspAdditionalProperties)CSP Specific Additional Properties, AzureSubnetId for AzureMulticloudSubscriptionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MulticloudSubscriptionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.MulticloudSubscriptionSummary.BuilderlifecycleState(MulticloudSubscriptionSummary.LifecycleState lifecycleState)The current state of the subscription.MulticloudSubscriptionSummary.BuilderpartnerCloudAccountIdentifier(String partnerCloudAccountIdentifier)The partner cloud account ID.MulticloudSubscriptionSummary.BuilderpaymentPlan(String paymentPlan)Payment plan for the subscription.MulticloudSubscriptionSummary.BuilderserviceName(SubscriptionType serviceName)The serviceName that externalLocation map object belongs to.MulticloudSubscriptionSummary.BuildersubscriptionId(String subscriptionId)URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.MulticloudSubscriptionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.MulticloudSubscriptionSummary.BuildertimeCreated(Date timeCreated)The date and time the subscription was created, in the format defined by RFC 3339.MulticloudSubscriptionSummary.BuildertimeEndDate(Date timeEndDate)The date and time for when the subscription is finishing, in the format defined by RFC 3339.MulticloudSubscriptionSummary.BuildertimeLinkedDate(Date timeLinkedDate)The date and time for when the multicloud was created, in the format defined by RFC 3339.MulticloudSubscriptionSummary.BuildertimeUpdated(Date timeUpdated)The date and time the subscription was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
classicSubscriptionId
public MulticloudSubscriptionSummary.Builder classicSubscriptionId(String classicSubscriptionId)
Subscription ID for OCI and Partner cloud in classic format.- Parameters:
classicSubscriptionId- the value to set- Returns:
- this builder
-
subscriptionId
public MulticloudSubscriptionSummary.Builder subscriptionId(String subscriptionId)
URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.- Parameters:
subscriptionId- the value to set- Returns:
- this builder
-
partnerCloudAccountIdentifier
public MulticloudSubscriptionSummary.Builder partnerCloudAccountIdentifier(String partnerCloudAccountIdentifier)
The partner cloud account ID.- Parameters:
partnerCloudAccountIdentifier- the value to set- Returns:
- this builder
-
serviceName
public MulticloudSubscriptionSummary.Builder serviceName(SubscriptionType serviceName)
The serviceName that externalLocation map object belongs to.- Parameters:
serviceName- the value to set- Returns:
- this builder
-
timeLinkedDate
public MulticloudSubscriptionSummary.Builder timeLinkedDate(Date timeLinkedDate)
The date and time for when the multicloud was created, in the format defined by RFC 3339.- Parameters:
timeLinkedDate- the value to set- Returns:
- this builder
-
paymentPlan
public MulticloudSubscriptionSummary.Builder paymentPlan(String paymentPlan)
Payment plan for the subscription.- Parameters:
paymentPlan- the value to set- Returns:
- this builder
-
activeCommitment
public MulticloudSubscriptionSummary.Builder activeCommitment(String activeCommitment)
Total value for the subscription.- Parameters:
activeCommitment- the value to set- Returns:
- this builder
-
timeEndDate
public MulticloudSubscriptionSummary.Builder timeEndDate(Date timeEndDate)
The date and time for when the subscription is finishing, in the format defined by RFC 3339.- Parameters:
timeEndDate- the value to set- Returns:
- this builder
-
lifecycleState
public MulticloudSubscriptionSummary.Builder lifecycleState(MulticloudSubscriptionSummary.LifecycleState lifecycleState)
The current state of the subscription.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
cspAdditionalProperties
public MulticloudSubscriptionSummary.Builder cspAdditionalProperties(Map<String,String> cspAdditionalProperties)
CSP Specific Additional Properties, AzureSubnetId for Azure- Parameters:
cspAdditionalProperties- the value to set- Returns:
- this builder
-
timeCreated
public MulticloudSubscriptionSummary.Builder timeCreated(Date timeCreated)
The date and time the subscription was created, in the format defined by RFC 3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public MulticloudSubscriptionSummary.Builder timeUpdated(Date timeUpdated)
The date and time the subscription was updated, in the format defined by RFC 3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public MulticloudSubscriptionSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public MulticloudSubscriptionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public MulticloudSubscriptionSummary.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 MulticloudSubscriptionSummary build()
-
copy
public MulticloudSubscriptionSummary.Builder copy(MulticloudSubscriptionSummary model)
-
-