Class ServiceDeploymentBrief
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ServiceDeploymentBrief
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceDeploymentBrief.Builder,ServiceDeploymentBrief>
@Generated("software.amazon.awssdk:codegen") public final class ServiceDeploymentBrief extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceDeploymentBrief.Builder,ServiceDeploymentBrief>
The service deployment properties that are retured when you call
ListServiceDeployments.This provides a high-level overview of the service deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceDeploymentBrief.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceDeploymentBrief.Builderbuilder()StringclusterArn()The ARN of the cluster that hosts the service.InstantcreatedAt()The time that the service deployment was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfinishedAt()The time that the service deployment completed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceDeploymentBrief.Builder>serializableBuilderClass()StringserviceArn()The ARN of the service for this service deployment.StringserviceDeploymentArn()The ARN of the service deployment.InstantstartedAt()The time that the service deployment statred.ServiceDeploymentStatusstatus()The status of the service deploymentStringstatusAsString()The status of the service deploymentStringstatusReason()Information about why the service deployment is in the current status.StringtargetServiceRevisionArn()The ARN of the service revision being deplyed.ServiceDeploymentBrief.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
-
serviceDeploymentArn
public final String serviceDeploymentArn()
The ARN of the service deployment.
- Returns:
- The ARN of the service deployment.
-
serviceArn
public final String serviceArn()
The ARN of the service for this service deployment.
- Returns:
- The ARN of the service for this service deployment.
-
clusterArn
public final String clusterArn()
The ARN of the cluster that hosts the service.
- Returns:
- The ARN of the cluster that hosts the service.
-
startedAt
public final Instant startedAt()
The time that the service deployment statred. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Returns:
- The time that the service deployment statred. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
-
createdAt
public final Instant createdAt()
The time that the service deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Returns:
- The time that the service deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
-
finishedAt
public final Instant finishedAt()
The time that the service deployment completed. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Returns:
- The time that the service deployment completed. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
-
targetServiceRevisionArn
public final String targetServiceRevisionArn()
The ARN of the service revision being deplyed.
- Returns:
- The ARN of the service revision being deplyed.
-
status
public final ServiceDeploymentStatus status()
The status of the service deployment
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service deployment
- See Also:
ServiceDeploymentStatus
-
statusAsString
public final String statusAsString()
The status of the service deployment
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service deployment
- See Also:
ServiceDeploymentStatus
-
statusReason
public final String statusReason()
Information about why the service deployment is in the current status. For example, the circuit breaker detected a deployment failure.
- Returns:
- Information about why the service deployment is in the current status. For example, the circuit breaker detected a deployment failure.
-
toBuilder
public ServiceDeploymentBrief.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceDeploymentBrief.Builder,ServiceDeploymentBrief>
-
builder
public static ServiceDeploymentBrief.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceDeploymentBrief.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-