public static class CreateOccCapacityRequestDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateOccCapacityRequestDetails.Builder |
availabilityDomain(String availabilityDomain)
The availability domain (AD) in which the new resource is to be placed.
|
CreateOccCapacityRequestDetails |
build() |
CreateOccCapacityRequestDetails.Builder |
compartmentId(String compartmentId)
Since all resources are at tenancy level hence this will be the ocid of the tenancy where
operation is to be performed.
|
CreateOccCapacityRequestDetails.Builder |
copy(CreateOccCapacityRequestDetails model) |
CreateOccCapacityRequestDetails.Builder |
dateExpectedCapacityHandover(Date dateExpectedCapacityHandover)
The date by which the capacity requested by customers before dateFinalCustomerOrder needs
to be fulfilled.
|
CreateOccCapacityRequestDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateOccCapacityRequestDetails.Builder |
description(String description)
Meaningful text about the capacity request.
|
CreateOccCapacityRequestDetails.Builder |
details(List<OccCapacityRequestBaseDetails> details)
A list of different resources requested by the user.
|
CreateOccCapacityRequestDetails.Builder |
displayName(String displayName)
An user-friendly name for the capacity request.
|
CreateOccCapacityRequestDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateOccCapacityRequestDetails.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
CreateOccCapacityRequestDetails.Builder |
namespace(Namespace namespace)
The name of the OCI service in consideration.
|
CreateOccCapacityRequestDetails.Builder |
occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog against which capacity request is made.
|
CreateOccCapacityRequestDetails.Builder |
region(String region)
The name of the region for which the capacity request is made.
|
CreateOccCapacityRequestDetails.Builder |
requestState(CreateOccCapacityRequestDetails.RequestState requestState)
The subset of request states available for creating the capacity request.
|
CreateOccCapacityRequestDetails.Builder |
requestType(OccCapacityRequest.RequestType requestType)
Type of Capacity Request(New or Transfer)
|
public CreateOccCapacityRequestDetails.Builder compartmentId(String compartmentId)
Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
compartmentId
- the value to setpublic CreateOccCapacityRequestDetails.Builder occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog against which capacity request is made.
occAvailabilityCatalogId
- the value to setpublic CreateOccCapacityRequestDetails.Builder namespace(Namespace namespace)
The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
namespace
- the value to setpublic CreateOccCapacityRequestDetails.Builder region(String region)
The name of the region for which the capacity request is made.
region
- the value to setpublic CreateOccCapacityRequestDetails.Builder displayName(String displayName)
An user-friendly name for the capacity request. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic CreateOccCapacityRequestDetails.Builder requestType(OccCapacityRequest.RequestType requestType)
Type of Capacity Request(New or Transfer)
requestType
- the value to setpublic CreateOccCapacityRequestDetails.Builder description(String description)
Meaningful text about the capacity request.
description
- the value to setpublic CreateOccCapacityRequestDetails.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"}
freeformTags
- the value to setpublic CreateOccCapacityRequestDetails.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"}}
definedTags
- the value to setpublic CreateOccCapacityRequestDetails.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.
lifecycleDetails
- the value to setpublic CreateOccCapacityRequestDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
availabilityDomain
- the value to setpublic CreateOccCapacityRequestDetails.Builder dateExpectedCapacityHandover(Date dateExpectedCapacityHandover)
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
dateExpectedCapacityHandover
- the value to setpublic CreateOccCapacityRequestDetails.Builder requestState(CreateOccCapacityRequestDetails.RequestState requestState)
The subset of request states available for creating the capacity request.
requestState
- the value to setpublic CreateOccCapacityRequestDetails.Builder details(List<OccCapacityRequestBaseDetails> details)
A list of different resources requested by the user.
details
- the value to setpublic CreateOccCapacityRequestDetails build()
public CreateOccCapacityRequestDetails.Builder copy(CreateOccCapacityRequestDetails model)
Copyright © 2016–2024. All rights reserved.