Class CreateDeploymentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateDeploymentDetails.Builder
-
- Enclosing class:
- CreateDeploymentDetails
public static class CreateDeploymentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDeploymentDetails.BuilderavailabilityDomain(String availabilityDomain)The availability domain of a placement.CreateDeploymentDetails.BuilderbackupSchedule(CreateBackupScheduleDetails backupSchedule)CreateDeploymentDetailsbuild()CreateDeploymentDetails.BuilderbyolCpuCoreCountLimit(Integer byolCpuCoreCountLimit)The maximum number of CPUs allowed with a ‘Bring Your Own License’ (BYOL) license type.CreateDeploymentDetails.BuilderclusterPlacementGroupId(String clusterPlacementGroupId)The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.CreateDeploymentDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment being referenced.CreateDeploymentDetails.Buildercopy(CreateDeploymentDetails model)CreateDeploymentDetails.BuildercpuCoreCount(Integer cpuCoreCount)The Minimum number of OCPUs to be made available for this Deployment.CreateDeploymentDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Tags defined for this resource.CreateDeploymentDetails.BuilderdeploymentBackupId(String deploymentBackupId)The OCID of the backup being referenced.CreateDeploymentDetails.BuilderdeploymentType(DeploymentType deploymentType)The type of deployment, which can be any one of the Allowed values.CreateDeploymentDetails.Builderdescription(String description)Metadata about this specific object.CreateDeploymentDetails.BuilderdisplayName(String displayName)An object’s Display Name.CreateDeploymentDetails.BuilderenvironmentType(EnvironmentType environmentType)Specifies whether the deployment is used in a production or development/testing environment.CreateDeploymentDetails.BuilderfaultDomain(String faultDomain)The fault domain of a placement.CreateDeploymentDetails.Builderfqdn(String fqdn)A three-label Fully Qualified Domain Name (FQDN) for a resource.CreateDeploymentDetails.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.CreateDeploymentDetails.BuilderisAutoScalingEnabled(Boolean isAutoScalingEnabled)Indicates if auto scaling is enabled for the Deployment’s CPU core count.CreateDeploymentDetails.BuilderisByolCpuCoreCountLimitEnabled(Boolean isByolCpuCoreCountLimitEnabled)Flag to allow to configure the ‘Bring Your Own License’ (BYOL) license type CPU limit.CreateDeploymentDetails.BuilderisPublic(Boolean isPublic)True if this object is publicly available.CreateDeploymentDetails.BuilderlicenseModel(LicenseModel licenseModel)The Oracle license model that applies to a Deployment.CreateDeploymentDetails.BuilderloadBalancerSubnetId(String loadBalancerSubnetId)The OCID of a public subnet in the customer tenancy.CreateDeploymentDetails.Builderlocks(List<AddResourceLockDetails> locks)Locks associated with this resource.CreateDeploymentDetails.BuildermaintenanceConfiguration(CreateMaintenanceConfigurationDetails maintenanceConfiguration)CreateDeploymentDetails.BuildermaintenanceWindow(CreateMaintenanceWindowDetails maintenanceWindow)CreateDeploymentDetails.BuildernsgIds(List<String> nsgIds)An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.CreateDeploymentDetails.BuilderoggData(CreateOggDeploymentDetails oggData)CreateDeploymentDetails.Builderplacements(List<DeploymentPlacementDetails> placements)An array of local peers of deploymentCreateDeploymentDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes for this resource.CreateDeploymentDetails.BuildersourceDeploymentId(String sourceDeploymentId)The OCID of the deployment being referenced.CreateDeploymentDetails.BuildersubnetId(String subnetId)The OCID of the subnet of the deployment’s private endpoint.CreateDeploymentDetails.BuildersubscriptionId(String subscriptionId)The OCID of the subscription with which resource needs to be associated with.
-
-
-
Method Detail
-
displayName
public CreateDeploymentDetails.Builder displayName(String displayName)
An object’s Display Name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
licenseModel
public CreateDeploymentDetails.Builder licenseModel(LicenseModel licenseModel)
The Oracle license model that applies to a Deployment.- Parameters:
licenseModel- the value to set- Returns:
- this builder
-
isByolCpuCoreCountLimitEnabled
public CreateDeploymentDetails.Builder isByolCpuCoreCountLimitEnabled(Boolean isByolCpuCoreCountLimitEnabled)
Flag to allow to configure the ‘Bring Your Own License’ (BYOL) license type CPU limit.If enabled, the exact number of CPUs must be provided via byolCpuCoreCountLimit.
- Parameters:
isByolCpuCoreCountLimitEnabled- the value to set- Returns:
- this builder
-
byolCpuCoreCountLimit
public CreateDeploymentDetails.Builder byolCpuCoreCountLimit(Integer byolCpuCoreCountLimit)
The maximum number of CPUs allowed with a ‘Bring Your Own License’ (BYOL) license type.Any CPU usage above this limit is considered as License Included and billed.
- Parameters:
byolCpuCoreCountLimit- the value to set- Returns:
- this builder
-
environmentType
public CreateDeploymentDetails.Builder environmentType(EnvironmentType environmentType)
Specifies whether the deployment is used in a production or development/testing environment.- Parameters:
environmentType- the value to set- Returns:
- this builder
-
description
public CreateDeploymentDetails.Builder description(String description)
Metadata about this specific object.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public CreateDeploymentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
sourceDeploymentId
public CreateDeploymentDetails.Builder sourceDeploymentId(String sourceDeploymentId)
The OCID of the deployment being referenced.- Parameters:
sourceDeploymentId- the value to set- Returns:
- this builder
-
availabilityDomain
public CreateDeploymentDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain of a placement.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
faultDomain
public CreateDeploymentDetails.Builder faultDomain(String faultDomain)
The fault domain of a placement.- Parameters:
faultDomain- the value to set- Returns:
- this builder
-
placements
public CreateDeploymentDetails.Builder placements(List<DeploymentPlacementDetails> placements)
An array of local peers of deployment- Parameters:
placements- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
locks
public CreateDeploymentDetails.Builder locks(List<AddResourceLockDetails> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
deploymentBackupId
public CreateDeploymentDetails.Builder deploymentBackupId(String deploymentBackupId)
The OCID of the backup being referenced.- Parameters:
deploymentBackupId- the value to set- Returns:
- this builder
-
subnetId
public 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.
- Parameters:
subnetId- the value to set- Returns:
- this builder
-
loadBalancerSubnetId
public 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.
- Parameters:
loadBalancerSubnetId- the value to set- Returns:
- this builder
-
fqdn
public CreateDeploymentDetails.Builder fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.- Parameters:
fqdn- the value to set- Returns:
- this builder
-
nsgIds
public CreateDeploymentDetails.Builder nsgIds(List<String> nsgIds)
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
isPublic
public CreateDeploymentDetails.Builder isPublic(Boolean isPublic)
True if this object is publicly available.- Parameters:
isPublic- the value to set- Returns:
- this builder
-
cpuCoreCount
public CreateDeploymentDetails.Builder cpuCoreCount(Integer cpuCoreCount)
The Minimum number of OCPUs to be made available for this Deployment.- Parameters:
cpuCoreCount- the value to set- Returns:
- this builder
-
isAutoScalingEnabled
public CreateDeploymentDetails.Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Indicates if auto scaling is enabled for the Deployment’s CPU core count.- Parameters:
isAutoScalingEnabled- the value to set- Returns:
- this builder
-
deploymentType
public 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’.
- Parameters:
deploymentType- the value to set- Returns:
- this builder
-
subscriptionId
public CreateDeploymentDetails.Builder subscriptionId(String subscriptionId)
The OCID of the subscription with which resource needs to be associated with.- Parameters:
subscriptionId- the value to set- Returns:
- this builder
-
clusterPlacementGroupId
public CreateDeploymentDetails.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud subscription id is provided. Otherwise the cluster placement group must not be provided.
- Parameters:
clusterPlacementGroupId- the value to set- Returns:
- this builder
-
securityAttributes
public CreateDeploymentDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}
- Parameters:
securityAttributes- the value to set- Returns:
- this builder
-
oggData
public CreateDeploymentDetails.Builder oggData(CreateOggDeploymentDetails oggData)
-
maintenanceWindow
public CreateDeploymentDetails.Builder maintenanceWindow(CreateMaintenanceWindowDetails maintenanceWindow)
-
maintenanceConfiguration
public CreateDeploymentDetails.Builder maintenanceConfiguration(CreateMaintenanceConfigurationDetails maintenanceConfiguration)
-
backupSchedule
public CreateDeploymentDetails.Builder backupSchedule(CreateBackupScheduleDetails backupSchedule)
-
build
public CreateDeploymentDetails build()
-
copy
public CreateDeploymentDetails.Builder copy(CreateDeploymentDetails model)
-
-