public static class CreateDeploymentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentDetails |
build() |
CreateDeploymentDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment being referenced.
|
CreateDeploymentDetails.Builder |
copy(CreateDeploymentDetails model) |
CreateDeploymentDetails.Builder |
cpuCoreCount(Integer cpuCoreCount)
The Minimum number of OCPUs to be made available for this Deployment.
|
CreateDeploymentDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.
|
CreateDeploymentDetails.Builder |
deploymentBackupId(String deploymentBackupId)
The OCID of the
backup being referenced.
|
CreateDeploymentDetails.Builder |
deploymentType(DeploymentType deploymentType)
The type of deployment, which can be any one of the Allowed values.
|
CreateDeploymentDetails.Builder |
description(String description)
Metadata about this specific object.
|
CreateDeploymentDetails.Builder |
displayName(String displayName)
An object’s Display Name.
|
CreateDeploymentDetails.Builder |
environmentType(EnvironmentType environmentType)
Specifies whether the deployment is used in a production or development/testing
environment.
|
CreateDeploymentDetails.Builder |
fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.
|
CreateDeploymentDetails.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
CreateDeploymentDetails.Builder |
isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Indicates if auto scaling is enabled for the Deployment’s CPU core count.
|
CreateDeploymentDetails.Builder |
isPublic(Boolean isPublic)
True if this object is publicly available.
|
CreateDeploymentDetails.Builder |
licenseModel(LicenseModel licenseModel)
The Oracle license model that applies to a Deployment.
|
CreateDeploymentDetails.Builder |
loadBalancerSubnetId(String loadBalancerSubnetId)
The OCID of a
public subnet in the customer tenancy.
|
CreateDeploymentDetails.Builder |
locks(List<AddResourceLockDetails> locks)
Locks associated with this resource.
|
CreateDeploymentDetails.Builder |
maintenanceConfiguration(CreateMaintenanceConfigurationDetails maintenanceConfiguration) |
CreateDeploymentDetails.Builder |
maintenanceWindow(CreateMaintenanceWindowDetails maintenanceWindow) |
CreateDeploymentDetails.Builder |
nsgIds(List<String> nsgIds)
An array of Network Security Group OCIDs used to define network access for either
Deployments or Connections.
|
CreateDeploymentDetails.Builder |
oggData(CreateOggDeploymentDetails oggData) |
CreateDeploymentDetails.Builder |
subnetId(String subnetId)
The OCID of the
subnet of the deployment’s private endpoint.
|
public CreateDeploymentDetails.Builder displayName(String displayName)
An object’s Display Name.
displayName
- the value to setpublic CreateDeploymentDetails.Builder licenseModel(LicenseModel licenseModel)
The Oracle license model that applies to a Deployment.
licenseModel
- the value to setpublic CreateDeploymentDetails.Builder environmentType(EnvironmentType environmentType)
Specifies whether the deployment is used in a production or development/testing environment.
environmentType
- the value to setpublic CreateDeploymentDetails.Builder description(String description)
Metadata about this specific object.
description
- the value to setpublic CreateDeploymentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.
compartmentId
- the value to setpublic CreateDeploymentDetails.Builder freeformTags(Map<String,String> freeformTags)
A 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 CreateDeploymentDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic CreateDeploymentDetails.Builder locks(List<AddResourceLockDetails> locks)
Locks associated with this resource.
locks
- the value to setpublic CreateDeploymentDetails.Builder deploymentBackupId(String deploymentBackupId)
The OCID of the backup being referenced.
deploymentBackupId
- the value to setpublic CreateDeploymentDetails.Builder subnetId(String subnetId)
The OCID of the subnet of the deployment’s private endpoint. The subnet must be a private subnet. For backward compatibility, public subnets are allowed until May 31 2025, after which the private subnet will be enforced.
subnetId
- the value to setpublic CreateDeploymentDetails.Builder loadBalancerSubnetId(String loadBalancerSubnetId)
The OCID of a public subnet in the customer tenancy. Can be provided only for public deployments. If provided, the loadbalancer will be created in this subnet instead of the service tenancy. For backward compatibility, this is an optional property. It will become mandatory for public deployments after October 1, 2024.
loadBalancerSubnetId
- the value to setpublic CreateDeploymentDetails.Builder fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.
fqdn
- the value to setpublic CreateDeploymentDetails.Builder nsgIds(List<String> nsgIds)
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
nsgIds
- the value to setpublic CreateDeploymentDetails.Builder isPublic(Boolean isPublic)
True if this object is publicly available.
isPublic
- the value to setpublic CreateDeploymentDetails.Builder cpuCoreCount(Integer cpuCoreCount)
The Minimum number of OCPUs to be made available for this Deployment.
cpuCoreCount
- the value to setpublic CreateDeploymentDetails.Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Indicates if auto scaling is enabled for the Deployment’s CPU core count.
isAutoScalingEnabled
- the value to setpublic CreateDeploymentDetails.Builder deploymentType(DeploymentType deploymentType)
The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value ‘OGG’ is maintained for backward compatibility purposes. Its use is discouraged in favor of ‘DATABASE_ORACLE’.
deploymentType
- the value to setpublic CreateDeploymentDetails.Builder oggData(CreateOggDeploymentDetails oggData)
public CreateDeploymentDetails.Builder maintenanceWindow(CreateMaintenanceWindowDetails maintenanceWindow)
public CreateDeploymentDetails.Builder maintenanceConfiguration(CreateMaintenanceConfigurationDetails maintenanceConfiguration)
public CreateDeploymentDetails build()
public CreateDeploymentDetails.Builder copy(CreateDeploymentDetails model)
Copyright © 2016–2024. All rights reserved.