@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentState.Builder,DeploymentState>
The detailed data about the current state of the deployment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeploymentState.Builder |
static class |
DeploymentState.Type |
| Modifier and Type | Method and Description |
|---|---|
static DeploymentState.Builder |
builder() |
ComponentState |
component()
The state of the component associated with the deployment.
|
EnvironmentState |
environment()
The state of the environment associated with the deployment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static DeploymentState |
fromComponent(ComponentState component)
Create an instance of this class with
component() initialized to the given value. |
static DeploymentState |
fromComponent(Consumer<ComponentState.Builder> component)
Create an instance of this class with
component() initialized to the given value. |
static DeploymentState |
fromEnvironment(Consumer<EnvironmentState.Builder> environment)
Create an instance of this class with
environment() initialized to the given value. |
static DeploymentState |
fromEnvironment(EnvironmentState environment)
Create an instance of this class with
environment() initialized to the given value. |
static DeploymentState |
fromServiceInstance(Consumer<ServiceInstanceState.Builder> serviceInstance)
Create an instance of this class with
serviceInstance() initialized to the given value. |
static DeploymentState |
fromServiceInstance(ServiceInstanceState serviceInstance)
Create an instance of this class with
serviceInstance() initialized to the given value. |
static DeploymentState |
fromServicePipeline(Consumer<ServicePipelineState.Builder> servicePipeline)
Create an instance of this class with
servicePipeline() initialized to the given value. |
static DeploymentState |
fromServicePipeline(ServicePipelineState servicePipeline)
Create an instance of this class with
servicePipeline() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentState.Builder> |
serializableBuilderClass() |
ServiceInstanceState |
serviceInstance()
The state of the service instance associated with the deployment.
|
ServicePipelineState |
servicePipeline()
The state of the service pipeline associated with the deployment.
|
DeploymentState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DeploymentState.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ComponentState component()
The state of the component associated with the deployment.
public final EnvironmentState environment()
The state of the environment associated with the deployment.
public final ServiceInstanceState serviceInstance()
The state of the service instance associated with the deployment.
public final ServicePipelineState servicePipeline()
The state of the service pipeline associated with the deployment.
public DeploymentState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeploymentState.Builder,DeploymentState>public static DeploymentState.Builder builder()
public static Class<? extends DeploymentState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static DeploymentState fromComponent(ComponentState component)
component() initialized to the given value.
The state of the component associated with the deployment.
component - The state of the component associated with the deployment.public static DeploymentState fromComponent(Consumer<ComponentState.Builder> component)
component() initialized to the given value.
The state of the component associated with the deployment.
component - The state of the component associated with the deployment.public static DeploymentState fromEnvironment(EnvironmentState environment)
environment() initialized to the given value.
The state of the environment associated with the deployment.
environment - The state of the environment associated with the deployment.public static DeploymentState fromEnvironment(Consumer<EnvironmentState.Builder> environment)
environment() initialized to the given value.
The state of the environment associated with the deployment.
environment - The state of the environment associated with the deployment.public static DeploymentState fromServiceInstance(ServiceInstanceState serviceInstance)
serviceInstance() initialized to the given value.
The state of the service instance associated with the deployment.
serviceInstance - The state of the service instance associated with the deployment.public static DeploymentState fromServiceInstance(Consumer<ServiceInstanceState.Builder> serviceInstance)
serviceInstance() initialized to the given value.
The state of the service instance associated with the deployment.
serviceInstance - The state of the service instance associated with the deployment.public static DeploymentState fromServicePipeline(ServicePipelineState servicePipeline)
servicePipeline() initialized to the given value.
The state of the service pipeline associated with the deployment.
servicePipeline - The state of the service pipeline associated with the deployment.public static DeploymentState fromServicePipeline(Consumer<ServicePipelineState.Builder> servicePipeline)
servicePipeline() initialized to the given value.
The state of the service pipeline associated with the deployment.
servicePipeline - The state of the service pipeline associated with the deployment.public DeploymentState.Type type()
DeploymentState.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be DeploymentState.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.