Class DeploymentUpgrade.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.DeploymentUpgrade.Builder
-
- Enclosing class:
- DeploymentUpgrade
public static class DeploymentUpgrade.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentUpgradebuild()DeploymentUpgrade.BuildercompartmentId(String compartmentId)The OCID of the compartment being referenced.DeploymentUpgrade.Buildercopy(DeploymentUpgrade model)DeploymentUpgrade.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Tags defined for this resource.DeploymentUpgrade.BuilderdeploymentId(String deploymentId)The OCID of the deployment being referenced.DeploymentUpgrade.BuilderdeploymentUpgradeType(DeploymentUpgradeType deploymentUpgradeType)The type of the deployment upgrade: MANUAL or AUTOMATICDeploymentUpgrade.Builderdescription(String description)Metadata about this specific object.DeploymentUpgrade.BuilderdisplayName(String displayName)An object’s Display Name.DeploymentUpgrade.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.DeploymentUpgrade.Builderid(String id)The OCID of the deployment upgrade being referenced.DeploymentUpgrade.BuilderisCancelAllowed(Boolean isCancelAllowed)Indicates if cancel is allowed.DeploymentUpgrade.BuilderisRescheduleAllowed(Boolean isRescheduleAllowed)Indicates if reschedule is allowed.DeploymentUpgrade.BuilderisRollbackAllowed(Boolean isRollbackAllowed)Indicates if rollback is allowed.DeploymentUpgrade.BuilderisSecurityFix(Boolean isSecurityFix)Indicates if OGG release contains security fix.DeploymentUpgrade.BuilderisSnoozed(Boolean isSnoozed)Indicates if upgrade notifications are snoozed or not.DeploymentUpgrade.BuilderlifecycleDetails(String lifecycleDetails)Describes the object’s current state in detail.DeploymentUpgrade.BuilderlifecycleState(LifecycleState lifecycleState)Possible lifecycle states.DeploymentUpgrade.BuilderlifecycleSubState(LifecycleSubState lifecycleSubState)Possible GGS lifecycle sub-states.DeploymentUpgrade.BuilderoggVersion(String oggVersion)Version of OGGDeploymentUpgrade.BuilderpreviousOggVersion(String previousOggVersion)Version of OGGDeploymentUpgrade.BuilderreleaseType(ReleaseType releaseType)The type of release.DeploymentUpgrade.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.DeploymentUpgrade.BuildertimeCreated(Date timeCreated)The time the resource was created.DeploymentUpgrade.BuildertimeFinished(Date timeFinished)The date and time the request was finished.DeploymentUpgrade.BuildertimeOggVersionSupportedUntil(Date timeOggVersionSupportedUntil)The time until OGG version is supported.DeploymentUpgrade.BuildertimeReleased(Date timeReleased)The time the resource was released.DeploymentUpgrade.BuildertimeSchedule(Date timeSchedule)The time of upgrade schedule.DeploymentUpgrade.BuildertimeScheduleMax(Date timeScheduleMax)Indicates the latest time until the deployment upgrade could be rescheduled.DeploymentUpgrade.BuildertimeSnoozedUntil(Date timeSnoozedUntil)The time the upgrade notifications are snoozed until.DeploymentUpgrade.BuildertimeStarted(Date timeStarted)The date and time the request was started.DeploymentUpgrade.BuildertimeUpdated(Date timeUpdated)The time the resource was last updated.
-
-
-
Method Detail
-
id
public DeploymentUpgrade.Builder id(String id)
The OCID of the deployment upgrade being referenced.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public DeploymentUpgrade.Builder displayName(String displayName)
An object’s Display Name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public DeploymentUpgrade.Builder description(String description)
Metadata about this specific object.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public DeploymentUpgrade.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
deploymentId
public DeploymentUpgrade.Builder deploymentId(String deploymentId)
The OCID of the deployment being referenced.- Parameters:
deploymentId- the value to set- Returns:
- this builder
-
deploymentUpgradeType
public DeploymentUpgrade.Builder deploymentUpgradeType(DeploymentUpgradeType deploymentUpgradeType)
The type of the deployment upgrade: MANUAL or AUTOMATIC- Parameters:
deploymentUpgradeType- the value to set- Returns:
- this builder
-
timeStarted
public DeploymentUpgrade.Builder timeStarted(Date timeStarted)
The date and time the request was started.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeFinished
public DeploymentUpgrade.Builder timeFinished(Date timeFinished)
The date and time the request was finished.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeFinished- the value to set- Returns:
- this builder
-
oggVersion
public DeploymentUpgrade.Builder oggVersion(String oggVersion)
Version of OGG- Parameters:
oggVersion- the value to set- Returns:
- this builder
-
timeCreated
public DeploymentUpgrade.Builder timeCreated(Date timeCreated)
The time the resource was created.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DeploymentUpgrade.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.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public DeploymentUpgrade.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleSubState
public DeploymentUpgrade.Builder lifecycleSubState(LifecycleSubState lifecycleSubState)
Possible GGS lifecycle sub-states.- Parameters:
lifecycleSubState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DeploymentUpgrade.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.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public DeploymentUpgrade.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 DeploymentUpgrade.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
-
systemTags
public DeploymentUpgrade.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}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
previousOggVersion
public DeploymentUpgrade.Builder previousOggVersion(String previousOggVersion)
Version of OGG- Parameters:
previousOggVersion- the value to set- Returns:
- this builder
-
timeSchedule
public DeploymentUpgrade.Builder timeSchedule(Date timeSchedule)
The time of upgrade schedule.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeSchedule- the value to set- Returns:
- this builder
-
isSnoozed
public DeploymentUpgrade.Builder isSnoozed(Boolean isSnoozed)
Indicates if upgrade notifications are snoozed or not.- Parameters:
isSnoozed- the value to set- Returns:
- this builder
-
timeSnoozedUntil
public DeploymentUpgrade.Builder timeSnoozedUntil(Date timeSnoozedUntil)
The time the upgrade notifications are snoozed until.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeSnoozedUntil- the value to set- Returns:
- this builder
-
timeReleased
public DeploymentUpgrade.Builder timeReleased(Date timeReleased)
The time the resource was released.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeReleased- the value to set- Returns:
- this builder
-
releaseType
public DeploymentUpgrade.Builder releaseType(ReleaseType releaseType)
The type of release.- Parameters:
releaseType- the value to set- Returns:
- this builder
-
isSecurityFix
public DeploymentUpgrade.Builder isSecurityFix(Boolean isSecurityFix)
Indicates if OGG release contains security fix.- Parameters:
isSecurityFix- the value to set- Returns:
- this builder
-
isRollbackAllowed
public DeploymentUpgrade.Builder isRollbackAllowed(Boolean isRollbackAllowed)
Indicates if rollback is allowed.In practice only the last upgrade can be rolled back. - Manual upgrade is allowed to rollback only until the old version isn’t deprecated yet. - Automatic upgrade by default is not allowed, unless a serious issue does not justify.
- Parameters:
isRollbackAllowed- the value to set- Returns:
- this builder
-
timeOggVersionSupportedUntil
public DeploymentUpgrade.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.
- Parameters:
timeOggVersionSupportedUntil- the value to set- Returns:
- this builder
-
isCancelAllowed
public DeploymentUpgrade.Builder isCancelAllowed(Boolean isCancelAllowed)
Indicates if cancel is allowed.Scheduled upgrade can be cancelled only if target version is not forced by service, otherwise only reschedule allowed.
- Parameters:
isCancelAllowed- the value to set- Returns:
- this builder
-
isRescheduleAllowed
public DeploymentUpgrade.Builder isRescheduleAllowed(Boolean isRescheduleAllowed)
Indicates if reschedule is allowed.Upgrade can be rescheduled postponed until the end of the service defined auto-upgrade period.
- Parameters:
isRescheduleAllowed- the value to set- Returns:
- this builder
-
timeScheduleMax
public DeploymentUpgrade.Builder timeScheduleMax(Date timeScheduleMax)
Indicates the latest time until the deployment upgrade could be rescheduled.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeScheduleMax- the value to set- Returns:
- this builder
-
build
public DeploymentUpgrade build()
-
copy
public DeploymentUpgrade.Builder copy(DeploymentUpgrade model)
-
-