@Generated(value="software.amazon.awssdk:codegen") public final class ServiceInstanceState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceInstanceState.Builder,ServiceInstanceState>
The detailed data about the current state of this service instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceInstanceState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceInstanceState.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLastSuccessfulComponentDeploymentIds()
For responses, this returns true if the service returned a value for the LastSuccessfulComponentDeploymentIds
property.
|
List<String> |
lastSuccessfulComponentDeploymentIds()
The IDs for the last successful components deployed for this service instance.
|
String |
lastSuccessfulEnvironmentDeploymentId()
The ID for the last successful environment deployed for this service instance.
|
String |
lastSuccessfulServicePipelineDeploymentId()
The ID for the last successful service pipeline deployed for this service instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceInstanceState.Builder> |
serializableBuilderClass() |
String |
spec()
The service spec that was used to create the service instance.
|
String |
templateMajorVersion()
The major version of the service template that was used to create the service pipeline.
|
String |
templateMinorVersion()
The minor version of the service template that was used to create the service pipeline.
|
String |
templateName()
The name of the service template that was used to create the service instance.
|
ServiceInstanceState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasLastSuccessfulComponentDeploymentIds()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<String> lastSuccessfulComponentDeploymentIds()
The IDs for the last successful components deployed for this service instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLastSuccessfulComponentDeploymentIds()
method.
public final String lastSuccessfulEnvironmentDeploymentId()
The ID for the last successful environment deployed for this service instance.
public final String lastSuccessfulServicePipelineDeploymentId()
The ID for the last successful service pipeline deployed for this service instance.
public final String spec()
The service spec that was used to create the service instance.
public final String templateMajorVersion()
The major version of the service template that was used to create the service pipeline.
public final String templateMinorVersion()
The minor version of the service template that was used to create the service pipeline.
public final String templateName()
The name of the service template that was used to create the service instance.
public ServiceInstanceState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceInstanceState.Builder,ServiceInstanceState>public static ServiceInstanceState.Builder builder()
public static Class<? extends ServiceInstanceState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.