Class UpdateDeploymentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.UpdateDeploymentDetails.Builder
-
- Enclosing class:
- UpdateDeploymentDetails
public static class UpdateDeploymentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDeploymentDetails.BuilderbackupSchedule(UpdateBackupScheduleDetails backupSchedule)UpdateDeploymentDetailsbuild()UpdateDeploymentDetails.BuilderbyolCpuCoreCountLimit(Integer byolCpuCoreCountLimit)The maximum number of CPUs allowed with a ‘Bring Your Own License’ (BYOL) license type.UpdateDeploymentDetails.Buildercopy(UpdateDeploymentDetails model)UpdateDeploymentDetails.BuildercpuCoreCount(Integer cpuCoreCount)The Minimum number of OCPUs to be made available for this Deployment.UpdateDeploymentDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Tags defined for this resource.UpdateDeploymentDetails.Builderdescription(String description)Metadata about this specific object.UpdateDeploymentDetails.BuilderdisplayName(String displayName)An object’s Display Name.UpdateDeploymentDetails.BuilderenvironmentType(EnvironmentType environmentType)Specifies whether the deployment is used in a production or development/testing environment.UpdateDeploymentDetails.Builderfqdn(String fqdn)A three-label Fully Qualified Domain Name (FQDN) for a resource.UpdateDeploymentDetails.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.UpdateDeploymentDetails.BuilderisAutoScalingEnabled(Boolean isAutoScalingEnabled)Indicates if auto scaling is enabled for the Deployment’s CPU core count.UpdateDeploymentDetails.BuilderisByolCpuCoreCountLimitEnabled(Boolean isByolCpuCoreCountLimitEnabled)Flag to allow to configure the ‘Bring Your Own License’ (BYOL) license type CPU limit.UpdateDeploymentDetails.BuilderisPublic(Boolean isPublic)True if this object is publicly available.UpdateDeploymentDetails.BuilderlicenseModel(LicenseModel licenseModel)The Oracle license model that applies to a Deployment.UpdateDeploymentDetails.BuilderloadBalancerSubnetId(String loadBalancerSubnetId)The OCID of a public subnet in the customer tenancy.UpdateDeploymentDetails.BuildermaintenanceConfiguration(UpdateMaintenanceConfigurationDetails maintenanceConfiguration)UpdateDeploymentDetails.BuildermaintenanceWindow(UpdateMaintenanceWindowDetails maintenanceWindow)UpdateDeploymentDetails.BuildernsgIds(List<String> nsgIds)An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.UpdateDeploymentDetails.BuilderoggData(UpdateOggDeploymentDetails oggData)UpdateDeploymentDetails.Builderplacements(List<DeploymentPlacementDetails> placements)An array of local peers of deploymentUpdateDeploymentDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes for this resource.UpdateDeploymentDetails.BuildersubnetId(String subnetId)The OCID of the subnet of the deployment’s private endpoint.
-
-
-
Method Detail
-
displayName
public UpdateDeploymentDetails.Builder displayName(String displayName)
An object’s Display Name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
licenseModel
public UpdateDeploymentDetails.Builder licenseModel(LicenseModel licenseModel)
The Oracle license model that applies to a Deployment.- Parameters:
licenseModel- the value to set- Returns:
- this builder
-
isByolCpuCoreCountLimitEnabled
public UpdateDeploymentDetails.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 UpdateDeploymentDetails.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 UpdateDeploymentDetails.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 UpdateDeploymentDetails.Builder description(String description)
Metadata about this specific object.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public UpdateDeploymentDetails.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 UpdateDeploymentDetails.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
-
nsgIds
public UpdateDeploymentDetails.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
-
subnetId
public UpdateDeploymentDetails.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 UpdateDeploymentDetails.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
-
isPublic
public UpdateDeploymentDetails.Builder isPublic(Boolean isPublic)
True if this object is publicly available.- Parameters:
isPublic- the value to set- Returns:
- this builder
-
fqdn
public UpdateDeploymentDetails.Builder fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.- Parameters:
fqdn- the value to set- Returns:
- this builder
-
cpuCoreCount
public UpdateDeploymentDetails.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 UpdateDeploymentDetails.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
-
placements
public UpdateDeploymentDetails.Builder placements(List<DeploymentPlacementDetails> placements)
An array of local peers of deployment- Parameters:
placements- the value to set- Returns:
- this builder
-
securityAttributes
public UpdateDeploymentDetails.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 UpdateDeploymentDetails.Builder oggData(UpdateOggDeploymentDetails oggData)
-
maintenanceWindow
public UpdateDeploymentDetails.Builder maintenanceWindow(UpdateMaintenanceWindowDetails maintenanceWindow)
-
maintenanceConfiguration
public UpdateDeploymentDetails.Builder maintenanceConfiguration(UpdateMaintenanceConfigurationDetails maintenanceConfiguration)
-
backupSchedule
public UpdateDeploymentDetails.Builder backupSchedule(UpdateBackupScheduleDetails backupSchedule)
-
build
public UpdateDeploymentDetails build()
-
copy
public UpdateDeploymentDetails.Builder copy(UpdateDeploymentDetails model)
-
-