Class OccCapacityRequestSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccCapacityRequestSummary.Builder
-
- Enclosing class:
- OccCapacityRequestSummary
public static class OccCapacityRequestSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccCapacityRequestSummary.BuilderavailabilityDomain(String availabilityDomain)The availability domain (AD) for which the capacity request was made.OccCapacityRequestSummarybuild()OccCapacityRequestSummary.BuildercompartmentId(String compartmentId)The OCID of the tenancy from which the request was made.OccCapacityRequestSummary.Buildercopy(OccCapacityRequestSummary model)OccCapacityRequestSummary.BuilderdateExpectedCapacityHandover(Date dateExpectedCapacityHandover)The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.OccCapacityRequestSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OccCapacityRequestSummary.Builderdescription(String description)Meaningful text about the capacity request.OccCapacityRequestSummary.BuilderdisplayName(String displayName)The display name of the capacity request.OccCapacityRequestSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OccCapacityRequestSummary.Builderid(String id)The OCID of the capacity request.OccCapacityRequestSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.OccCapacityRequestSummary.BuilderlifecycleState(OccCapacityRequest.LifecycleState lifecycleState)The current lifecycle state of the customer group.OccCapacityRequestSummary.Buildernamespace(Namespace namespace)The name of the OCI service in consideration.OccCapacityRequestSummary.BuilderoccAvailabilityCatalogId(String occAvailabilityCatalogId)The OCID of the availability catalog against which the capacity request was placed.OccCapacityRequestSummary.BuilderoccCustomerGroupId(String occCustomerGroupId)The OCID of the customer group to which this customer belongs to.OccCapacityRequestSummary.Builderregion(String region)The name of the region for which the capacity request was made.OccCapacityRequestSummary.BuilderrequestState(OccCapacityRequest.RequestState requestState)A list of states through which the capacity request goes by.OccCapacityRequestSummary.BuilderrequestType(OccCapacityRequest.RequestType requestType)Type of Capacity Request(New or Transfer)OccCapacityRequestSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OccCapacityRequestSummary.BuildertimeCreated(Date timeCreated)The time when the capacity request was created.OccCapacityRequestSummary.BuildertimeUpdated(Date timeUpdated)The time when the capacity request was updated.
-
-
-
Method Detail
-
id
public OccCapacityRequestSummary.Builder id(String id)
The OCID of the capacity request.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public OccCapacityRequestSummary.Builder compartmentId(String compartmentId)
The OCID of the tenancy from which the request was made.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
occAvailabilityCatalogId
public OccCapacityRequestSummary.Builder occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog against which the capacity request was placed.- Parameters:
occAvailabilityCatalogId- the value to set- Returns:
- this builder
-
displayName
public OccCapacityRequestSummary.Builder displayName(String displayName)
The display name of the capacity request.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public OccCapacityRequestSummary.Builder description(String description)
Meaningful text about the capacity request.- Parameters:
description- the value to set- Returns:
- this builder
-
namespace
public OccCapacityRequestSummary.Builder namespace(Namespace namespace)
The name of the OCI service in consideration.For example, Compute, Exadata, and so on.
- Parameters:
namespace- the value to set- Returns:
- this builder
-
occCustomerGroupId
public OccCapacityRequestSummary.Builder occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group to which this customer belongs to.- Parameters:
occCustomerGroupId- the value to set- Returns:
- this builder
-
region
public OccCapacityRequestSummary.Builder region(String region)
The name of the region for which the capacity request was made.- Parameters:
region- the value to set- Returns:
- this builder
-
availabilityDomain
public OccCapacityRequestSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain (AD) for which the capacity request was made.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
dateExpectedCapacityHandover
public OccCapacityRequestSummary.Builder dateExpectedCapacityHandover(Date dateExpectedCapacityHandover)
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.- Parameters:
dateExpectedCapacityHandover- the value to set- Returns:
- this builder
-
requestState
public OccCapacityRequestSummary.Builder requestState(OccCapacityRequest.RequestState requestState)
A list of states through which the capacity request goes by.- Parameters:
requestState- the value to set- Returns:
- this builder
-
requestType
public OccCapacityRequestSummary.Builder requestType(OccCapacityRequest.RequestType requestType)
Type of Capacity Request(New or Transfer)- Parameters:
requestType- the value to set- Returns:
- this builder
-
timeCreated
public OccCapacityRequestSummary.Builder timeCreated(Date timeCreated)
The time when the capacity request was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public OccCapacityRequestSummary.Builder timeUpdated(Date timeUpdated)
The time when the capacity request was updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public OccCapacityRequestSummary.Builder lifecycleState(OccCapacityRequest.LifecycleState lifecycleState)
The current lifecycle state of the customer group.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public OccCapacityRequestSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in a Failed State.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public OccCapacityRequestSummary.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 OccCapacityRequestSummary.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 OccCapacityRequestSummary.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 OccCapacityRequestSummary build()
-
copy
public OccCapacityRequestSummary.Builder copy(OccCapacityRequestSummary model)
-
-