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 |
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 |
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 |
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 build()
public DeploymentUpgrade.Builder copy(DeploymentUpgrade model)
Copyright © 2016–2023. All rights reserved.