Class ContainerServiceStateDetail
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.ContainerServiceStateDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContainerServiceStateDetail.Builder,ContainerServiceStateDetail>
@Generated("software.amazon.awssdk:codegen") public final class ContainerServiceStateDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContainerServiceStateDetail.Builder,ContainerServiceStateDetail>
Describes the current state of a container service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContainerServiceStateDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerServiceStateDetail.Builderbuilder()ContainerServiceStateDetailCodecode()The state code of the container service.StringcodeAsString()The state code of the container service.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A message that provides more information for the state code.List<SdkField<?>>sdkFields()static Class<? extends ContainerServiceStateDetail.Builder>serializableBuilderClass()ContainerServiceStateDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
code
public final ContainerServiceStateDetailCode code()
The state code of the container service.
The following state codes are possible:
-
The following state codes are possible if your container service is in a
DEPLOYINGorUPDATINGstate:-
CREATING_SYSTEM_RESOURCES- The system resources for your container service are being created. -
CREATING_NETWORK_INFRASTRUCTURE- The network infrastructure for your container service are being created. -
PROVISIONING_CERTIFICATE- The SSL/TLS certificate for your container service is being created. -
PROVISIONING_SERVICE- Your container service is being provisioned. -
CREATING_DEPLOYMENT- Your deployment is being created on your container service. -
EVALUATING_HEALTH_CHECK- The health of your deployment is being evaluated. -
ACTIVATING_DEPLOYMENT- Your deployment is being activated.
-
-
The following state codes are possible if your container service is in a
PENDINGstate:-
CERTIFICATE_LIMIT_EXCEEDED- The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account. -
UNKNOWN_ERROR- An error was experienced when your container service was being created.
-
If the service returns an enum value that is not available in the current SDK version,
codewill returnContainerServiceStateDetailCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The state code of the container service.
The following state codes are possible:
-
The following state codes are possible if your container service is in a
DEPLOYINGorUPDATINGstate:-
CREATING_SYSTEM_RESOURCES- The system resources for your container service are being created. -
CREATING_NETWORK_INFRASTRUCTURE- The network infrastructure for your container service are being created. -
PROVISIONING_CERTIFICATE- The SSL/TLS certificate for your container service is being created. -
PROVISIONING_SERVICE- Your container service is being provisioned. -
CREATING_DEPLOYMENT- Your deployment is being created on your container service. -
EVALUATING_HEALTH_CHECK- The health of your deployment is being evaluated. -
ACTIVATING_DEPLOYMENT- Your deployment is being activated.
-
-
The following state codes are possible if your container service is in a
PENDINGstate:-
CERTIFICATE_LIMIT_EXCEEDED- The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account. -
UNKNOWN_ERROR- An error was experienced when your container service was being created.
-
-
- See Also:
ContainerServiceStateDetailCode
-
-
codeAsString
public final String codeAsString()
The state code of the container service.
The following state codes are possible:
-
The following state codes are possible if your container service is in a
DEPLOYINGorUPDATINGstate:-
CREATING_SYSTEM_RESOURCES- The system resources for your container service are being created. -
CREATING_NETWORK_INFRASTRUCTURE- The network infrastructure for your container service are being created. -
PROVISIONING_CERTIFICATE- The SSL/TLS certificate for your container service is being created. -
PROVISIONING_SERVICE- Your container service is being provisioned. -
CREATING_DEPLOYMENT- Your deployment is being created on your container service. -
EVALUATING_HEALTH_CHECK- The health of your deployment is being evaluated. -
ACTIVATING_DEPLOYMENT- Your deployment is being activated.
-
-
The following state codes are possible if your container service is in a
PENDINGstate:-
CERTIFICATE_LIMIT_EXCEEDED- The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account. -
UNKNOWN_ERROR- An error was experienced when your container service was being created.
-
If the service returns an enum value that is not available in the current SDK version,
codewill returnContainerServiceStateDetailCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The state code of the container service.
The following state codes are possible:
-
The following state codes are possible if your container service is in a
DEPLOYINGorUPDATINGstate:-
CREATING_SYSTEM_RESOURCES- The system resources for your container service are being created. -
CREATING_NETWORK_INFRASTRUCTURE- The network infrastructure for your container service are being created. -
PROVISIONING_CERTIFICATE- The SSL/TLS certificate for your container service is being created. -
PROVISIONING_SERVICE- Your container service is being provisioned. -
CREATING_DEPLOYMENT- Your deployment is being created on your container service. -
EVALUATING_HEALTH_CHECK- The health of your deployment is being evaluated. -
ACTIVATING_DEPLOYMENT- Your deployment is being activated.
-
-
The following state codes are possible if your container service is in a
PENDINGstate:-
CERTIFICATE_LIMIT_EXCEEDED- The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account. -
UNKNOWN_ERROR- An error was experienced when your container service was being created.
-
-
- See Also:
ContainerServiceStateDetailCode
-
-
message
public final String message()
A message that provides more information for the state code.
The state detail is populated only when a container service is in a
PENDING,DEPLOYING, orUPDATINGstate.- Returns:
- A message that provides more information for the state code.
The state detail is populated only when a container service is in a
PENDING,DEPLOYING, orUPDATINGstate.
-
toBuilder
public ContainerServiceStateDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContainerServiceStateDetail.Builder,ContainerServiceStateDetail>
-
builder
public static ContainerServiceStateDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContainerServiceStateDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-