Class DeploymentUpgrade.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.DeploymentUpgrade.Builder
 
- 
- Enclosing class:
- DeploymentUpgrade
 
 public static class DeploymentUpgrade.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic DeploymentUpgrade.Builder id(String id) The OCID of the deployment upgrade being referenced.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DeploymentUpgrade.Builder displayName(String displayName) An object’s Display Name.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DeploymentUpgrade.Builder description(String description) Metadata about this specific object.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DeploymentUpgrade.Builder compartmentId(String compartmentId) The OCID of the compartment being referenced.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
deploymentIdpublic DeploymentUpgrade.Builder deploymentId(String deploymentId) The OCID of the deployment being referenced.- Parameters:
- deploymentId- the value to set
- Returns:
- this builder
 
 - 
deploymentUpgradeTypepublic DeploymentUpgrade.Builder deploymentUpgradeType(DeploymentUpgradeType deploymentUpgradeType) The type of the deployment upgrade: MANUAL or AUTOMATIC- Parameters:
- deploymentUpgradeType- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic 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
 
 - 
timeFinishedpublic 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
 
 - 
oggVersionpublic DeploymentUpgrade.Builder oggVersion(String oggVersion) Version of OGG- Parameters:
- oggVersion- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic DeploymentUpgrade.Builder lifecycleState(LifecycleState lifecycleState) Possible lifecycle states.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleSubStatepublic DeploymentUpgrade.Builder lifecycleSubState(LifecycleSubState lifecycleSubState) Possible GGS lifecycle sub-states.- Parameters:
- lifecycleSubState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
previousOggVersionpublic DeploymentUpgrade.Builder previousOggVersion(String previousOggVersion) Version of OGG- Parameters:
- previousOggVersion- the value to set
- Returns:
- this builder
 
 - 
timeSchedulepublic 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
 
 - 
isSnoozedpublic DeploymentUpgrade.Builder isSnoozed(Boolean isSnoozed) Indicates if upgrade notifications are snoozed or not.- Parameters:
- isSnoozed- the value to set
- Returns:
- this builder
 
 - 
timeSnoozedUntilpublic 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
 
 - 
timeReleasedpublic 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
 
 - 
releaseTypepublic DeploymentUpgrade.Builder releaseType(ReleaseType releaseType) The type of release.- Parameters:
- releaseType- the value to set
- Returns:
- this builder
 
 - 
isSecurityFixpublic DeploymentUpgrade.Builder isSecurityFix(Boolean isSecurityFix) Indicates if OGG release contains security fix.- Parameters:
- isSecurityFix- the value to set
- Returns:
- this builder
 
 - 
isRollbackAllowedpublic 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
 
 - 
timeOggVersionSupportedUntilpublic 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
 
 - 
isCancelAllowedpublic 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
 
 - 
isRescheduleAllowedpublic 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
 
 - 
timeScheduleMaxpublic 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
 
 - 
buildpublic DeploymentUpgrade build() 
 - 
copypublic DeploymentUpgrade.Builder copy(DeploymentUpgrade model) 
 
- 
 
-