public static class DeploymentUpgrade.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeploymentUpgrade |
build() |
DeploymentUpgrade.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment being referenced.
|
DeploymentUpgrade.Builder |
copy(DeploymentUpgrade model) |
DeploymentUpgrade.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.
|
DeploymentUpgrade.Builder |
deploymentId(String deploymentId)
The OCID of the
deployment being referenced.
|
DeploymentUpgrade.Builder |
deploymentUpgradeType(DeploymentUpgradeType deploymentUpgradeType)
The type of the deployment upgrade: MANUAL or AUTOMATIC
|
DeploymentUpgrade.Builder |
description(String description)
Metadata about this specific object.
|
DeploymentUpgrade.Builder |
displayName(String displayName)
An object’s Display Name.
|
DeploymentUpgrade.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
DeploymentUpgrade.Builder |
id(String id)
The OCID of the
deployment upgrade being referenced.
|
DeploymentUpgrade.Builder |
isCancelAllowed(Boolean isCancelAllowed)
Indicates if cancel is allowed.
|
DeploymentUpgrade.Builder |
isRescheduleAllowed(Boolean isRescheduleAllowed)
Indicates if reschedule is allowed.
|
DeploymentUpgrade.Builder |
isRollbackAllowed(Boolean isRollbackAllowed)
Indicates if rollback is allowed.
|
DeploymentUpgrade.Builder |
isSecurityFix(Boolean isSecurityFix)
Indicates if OGG release contains security fix.
|
DeploymentUpgrade.Builder |
isSnoozed(Boolean isSnoozed)
Indicates if upgrade notifications are snoozed or not.
|
DeploymentUpgrade.Builder |
lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail.
|
DeploymentUpgrade.Builder |
lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
|
DeploymentUpgrade.Builder |
lifecycleSubState(LifecycleSubState lifecycleSubState)
Possible GGS lifecycle sub-states.
|
DeploymentUpgrade.Builder |
oggVersion(String oggVersion)
Version of OGG
|
DeploymentUpgrade.Builder |
previousOggVersion(String previousOggVersion)
Version of OGG
|
DeploymentUpgrade.Builder |
releaseType(ReleaseType releaseType)
The type of release.
|
DeploymentUpgrade.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
DeploymentUpgrade.Builder |
timeCreated(Date timeCreated)
The time the resource was created.
|
DeploymentUpgrade.Builder |
timeFinished(Date timeFinished)
The date and time the request was finished.
|
DeploymentUpgrade.Builder |
timeOggVersionSupportedUntil(Date timeOggVersionSupportedUntil)
The time until OGG version is supported.
|
DeploymentUpgrade.Builder |
timeReleased(Date timeReleased)
The time the resource was released.
|
DeploymentUpgrade.Builder |
timeSchedule(Date timeSchedule)
The time of upgrade schedule.
|
DeploymentUpgrade.Builder |
timeScheduleMax(Date timeScheduleMax)
Indicates the latest time until the deployment upgrade could be rescheduled.
|
DeploymentUpgrade.Builder |
timeSnoozedUntil(Date timeSnoozedUntil)
The time the upgrade notifications are snoozed until.
|
DeploymentUpgrade.Builder |
timeStarted(Date timeStarted)
The date and time the request was started.
|
DeploymentUpgrade.Builder |
timeUpdated(Date timeUpdated)
The time the resource was last updated.
|
public DeploymentUpgrade.Builder id(String id)
The OCID of the deployment upgrade being referenced.
id
- the value to setpublic DeploymentUpgrade.Builder displayName(String displayName)
An object’s Display Name.
displayName
- the value to setpublic DeploymentUpgrade.Builder description(String description)
Metadata about this specific object.
description
- the value to setpublic DeploymentUpgrade.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.
compartmentId
- the value to setpublic DeploymentUpgrade.Builder deploymentId(String deploymentId)
The OCID of the deployment being referenced.
deploymentId
- the value to setpublic DeploymentUpgrade.Builder deploymentUpgradeType(DeploymentUpgradeType deploymentUpgradeType)
The type of the deployment upgrade: MANUAL or AUTOMATIC
deploymentUpgradeType
- the value to setpublic 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
.
timeStarted
- the value to setpublic 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
.
timeFinished
- the value to setpublic DeploymentUpgrade.Builder oggVersion(String oggVersion)
Version of OGG
oggVersion
- the value to setpublic 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
.
timeCreated
- the value to setpublic 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
.
timeUpdated
- the value to setpublic DeploymentUpgrade.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
lifecycleState
- the value to setpublic DeploymentUpgrade.Builder lifecycleSubState(LifecycleSubState lifecycleSubState)
Possible GGS lifecycle sub-states.
lifecycleSubState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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}}
systemTags
- the value to setpublic DeploymentUpgrade.Builder previousOggVersion(String previousOggVersion)
Version of OGG
previousOggVersion
- the value to setpublic DeploymentUpgrade.Builder timeSchedule(Date timeSchedule)
The time of upgrade schedule. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeSchedule
- the value to setpublic DeploymentUpgrade.Builder isSnoozed(Boolean isSnoozed)
Indicates if upgrade notifications are snoozed or not.
isSnoozed
- the value to setpublic 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
.
timeSnoozedUntil
- the value to setpublic 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
.
timeReleased
- the value to setpublic DeploymentUpgrade.Builder releaseType(ReleaseType releaseType)
The type of release.
releaseType
- the value to setpublic DeploymentUpgrade.Builder isSecurityFix(Boolean isSecurityFix)
Indicates if OGG release contains security fix.
isSecurityFix
- the value to setpublic 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.
isRollbackAllowed
- the value to setpublic 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
.
timeOggVersionSupportedUntil
- the value to setpublic 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.
isCancelAllowed
- the value to setpublic 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.
isRescheduleAllowed
- the value to setpublic 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
.
timeScheduleMax
- the value to setpublic DeploymentUpgrade build()
public DeploymentUpgrade.Builder copy(DeploymentUpgrade model)
Copyright © 2016–2024. All rights reserved.