public static class Deployment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Deployment |
build() |
Deployment.Builder |
category(DeploymentCategory category)
The deployment category defines the broad separation of the deployment type into three
categories.
|
Deployment.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment being referenced.
|
Deployment.Builder |
copy(Deployment model) |
Deployment.Builder |
cpuCoreCount(Integer cpuCoreCount)
The Minimum number of OCPUs to be made available for this Deployment.
|
Deployment.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.
|
Deployment.Builder |
deploymentBackupId(String deploymentBackupId)
The OCID of the
backup being referenced.
|
Deployment.Builder |
deploymentDiagnosticData(DeploymentDiagnosticData deploymentDiagnosticData) |
Deployment.Builder |
deploymentType(DeploymentType deploymentType)
The type of deployment, which can be any one of the Allowed values.
|
Deployment.Builder |
deploymentUrl(String deploymentUrl)
The URL of a resource.
|
Deployment.Builder |
description(String description)
Metadata about this specific object.
|
Deployment.Builder |
displayName(String displayName)
An object’s Display Name.
|
Deployment.Builder |
environmentType(EnvironmentType environmentType)
Specifies whether the deployment is used in a production or development/testing
environment.
|
Deployment.Builder |
fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.
|
Deployment.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
Deployment.Builder |
id(String id)
The OCID of the
deployment being referenced.
|
Deployment.Builder |
ingressIps(List<IngressIpDetails> ingressIps)
List of ingress IP addresses from where the GoldenGate deployment connects to this
connection’s privateIp.
|
Deployment.Builder |
isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Indicates if auto scaling is enabled for the Deployment’s CPU core count.
|
Deployment.Builder |
isHealthy(Boolean isHealthy)
True if all of the aggregate resources are working correctly.
|
Deployment.Builder |
isLatestVersion(Boolean isLatestVersion)
Indicates if the resource is the the latest available version.
|
Deployment.Builder |
isPublic(Boolean isPublic)
True if this object is publicly available.
|
Deployment.Builder |
isStorageUtilizationLimitExceeded(Boolean isStorageUtilizationLimitExceeded)
Deprecated: This field is not updated and will be removed in future versions.
|
Deployment.Builder |
licenseModel(LicenseModel licenseModel)
The Oracle license model that applies to a Deployment.
|
Deployment.Builder |
lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail.
|
Deployment.Builder |
lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
|
Deployment.Builder |
lifecycleSubState(LifecycleSubState lifecycleSubState)
Possible GGS lifecycle sub-states.
|
Deployment.Builder |
loadBalancerId(String loadBalancerId)
The OCID of the
loadbalancer in the customer’s subnet.
|
Deployment.Builder |
loadBalancerSubnetId(String loadBalancerSubnetId)
The OCID of a
public subnet in the customer tenancy.
|
Deployment.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
Deployment.Builder |
maintenanceConfiguration(MaintenanceConfiguration maintenanceConfiguration) |
Deployment.Builder |
maintenanceWindow(MaintenanceWindow maintenanceWindow) |
Deployment.Builder |
nextMaintenanceActionType(MaintenanceActionType nextMaintenanceActionType)
Type of the next maintenance.
|
Deployment.Builder |
nextMaintenanceDescription(String nextMaintenanceDescription)
Description of the next maintenance.
|
Deployment.Builder |
nsgIds(List<String> nsgIds)
An array of Network Security Group OCIDs used to define network access for either
Deployments or Connections.
|
Deployment.Builder |
oggData(OggDeployment oggData) |
Deployment.Builder |
privateIpAddress(String privateIpAddress)
The private IP address in the customer’s VCN representing the access point for the
associated endpoint service in the GoldenGate service VCN.
|
Deployment.Builder |
publicIpAddress(String publicIpAddress)
The public IP address representing the access point for the Deployment.
|
Deployment.Builder |
storageUtilizationInBytes(Long storageUtilizationInBytes)
The amount of storage being utilized (in bytes)
|
Deployment.Builder |
subnetId(String subnetId)
The OCID of the
subnet of the deployment’s private endpoint.
|
Deployment.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
Deployment.Builder |
timeCreated(Date timeCreated)
The time the resource was created.
|
Deployment.Builder |
timeOfNextMaintenance(Date timeOfNextMaintenance)
The time of next maintenance schedule.
|
Deployment.Builder |
timeOggVersionSupportedUntil(Date timeOggVersionSupportedUntil)
The time until OGG version is supported.
|
Deployment.Builder |
timeUpdated(Date timeUpdated)
The time the resource was last updated.
|
Deployment.Builder |
timeUpgradeRequired(Date timeUpgradeRequired)
Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records to check,
when deployment will be forced to upgrade to a newer version.
|
public Deployment.Builder id(String id)
The OCID of the deployment being referenced.
id
- the value to setpublic Deployment.Builder displayName(String displayName)
An object’s Display Name.
displayName
- the value to setpublic Deployment.Builder description(String description)
Metadata about this specific object.
description
- the value to setpublic Deployment.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.
compartmentId
- the value to setpublic Deployment.Builder deploymentBackupId(String deploymentBackupId)
The OCID of the backup being referenced.
deploymentBackupId
- the value to setpublic Deployment.Builder timeCreated(Date timeCreated)
The time the resource was created. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeCreated
- the value to setpublic Deployment.Builder timeUpdated(Date timeUpdated)
The time the resource was last updated. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeUpdated
- the value to setpublic Deployment.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
lifecycleState
- the value to setpublic Deployment.Builder lifecycleSubState(LifecycleSubState lifecycleSubState)
Possible GGS lifecycle sub-states.
lifecycleSubState
- the value to setpublic Deployment.Builder lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
lifecycleDetails
- the value to setpublic Deployment.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 Deployment.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 Deployment.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic Deployment.Builder isHealthy(Boolean isHealthy)
True if all of the aggregate resources are working correctly.
isHealthy
- the value to setpublic Deployment.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 Deployment.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 Deployment.Builder loadBalancerId(String loadBalancerId)
The OCID of the loadbalancer in the customer’s subnet. The loadbalancer of the public deployment created in the customer subnet.
loadBalancerId
- the value to setpublic Deployment.Builder fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.
fqdn
- the value to setpublic Deployment.Builder licenseModel(LicenseModel licenseModel)
The Oracle license model that applies to a Deployment.
licenseModel
- the value to setpublic Deployment.Builder environmentType(EnvironmentType environmentType)
Specifies whether the deployment is used in a production or development/testing environment.
environmentType
- the value to setpublic Deployment.Builder category(DeploymentCategory category)
The deployment category defines the broad separation of the deployment type into three categories. Currently the separation is ‘DATA_REPLICATION’, ‘STREAM_ANALYTICS’ and ‘DATA_TRANSFORMS’.
category
- the value to setpublic Deployment.Builder cpuCoreCount(Integer cpuCoreCount)
The Minimum number of OCPUs to be made available for this Deployment.
cpuCoreCount
- the value to setpublic Deployment.Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Indicates if auto scaling is enabled for the Deployment’s CPU core count.
isAutoScalingEnabled
- the value to setpublic Deployment.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 Deployment.Builder isPublic(Boolean isPublic)
True if this object is publicly available.
isPublic
- the value to setpublic Deployment.Builder publicIpAddress(String publicIpAddress)
The public IP address representing the access point for the Deployment.
publicIpAddress
- the value to setpublic Deployment.Builder privateIpAddress(String privateIpAddress)
The private IP address in the customer’s VCN representing the access point for the associated endpoint service in the GoldenGate service VCN.
privateIpAddress
- the value to setpublic Deployment.Builder deploymentUrl(String deploymentUrl)
The URL of a resource.
deploymentUrl
- the value to setpublic Deployment.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic Deployment.Builder isLatestVersion(Boolean isLatestVersion)
Indicates if the resource is the the latest available version.
isLatestVersion
- the value to setpublic Deployment.Builder timeUpgradeRequired(Date timeUpgradeRequired)
Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records to check,
when deployment will be forced to upgrade to a newer version. Old description: The date
the existing version in use will no longer be considered as usable and an upgrade will be
required. This date is typically 6 months after the version was released for use by GGS.
The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeUpgradeRequired
- the value to setpublic Deployment.Builder storageUtilizationInBytes(Long storageUtilizationInBytes)
The amount of storage being utilized (in bytes)
storageUtilizationInBytes
- the value to setpublic Deployment.Builder isStorageUtilizationLimitExceeded(Boolean isStorageUtilizationLimitExceeded)
Deprecated: This field is not updated and will be removed in future versions. If storage utilization exceeds the limit, the respective warning message will appear in deployment messages, which can be accessed through /messages?deploymentId=. Indicator will be true if the amount of storage being utilized exceeds the allowable storage utilization limit. Exceeding the limit may be an indication of a misconfiguration of the deployment’s GoldenGate service.
isStorageUtilizationLimitExceeded
- the value to setpublic Deployment.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 Deployment.Builder oggData(OggDeployment oggData)
public Deployment.Builder deploymentDiagnosticData(DeploymentDiagnosticData deploymentDiagnosticData)
public Deployment.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
public Deployment.Builder timeOfNextMaintenance(Date timeOfNextMaintenance)
The time of next maintenance schedule. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeOfNextMaintenance
- the value to setpublic Deployment.Builder nextMaintenanceActionType(MaintenanceActionType nextMaintenanceActionType)
Type of the next maintenance.
nextMaintenanceActionType
- the value to setpublic Deployment.Builder nextMaintenanceDescription(String nextMaintenanceDescription)
Description of the next maintenance.
nextMaintenanceDescription
- the value to setpublic Deployment.Builder maintenanceConfiguration(MaintenanceConfiguration maintenanceConfiguration)
public Deployment.Builder timeOggVersionSupportedUntil(Date timeOggVersionSupportedUntil)
The time until OGG version is supported. After this date has passed OGG version will not
be available anymore. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeOggVersionSupportedUntil
- the value to setpublic Deployment.Builder ingressIps(List<IngressIpDetails> ingressIps)
List of ingress IP addresses from where the GoldenGate deployment connects to this connection’s privateIp. Customers may optionally set up ingress security rules to restrict traffic from these IP addresses.
ingressIps
- the value to setpublic Deployment build()
public Deployment.Builder copy(Deployment model)
Copyright © 2016–2024. All rights reserved.