@Generated(value="software.amazon.awssdk:codegen") public final class Fleet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Fleet.Builder,Fleet>
Information about a fleet.
Modifier and Type | Class and Description |
---|---|
static interface |
Fleet.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the fleet.
|
static Fleet.Builder |
builder() |
Instant |
createdAt()
The time, in milliseconds since the epoch, when the fleet was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastDeploymentJob()
The Amazon Resource Name (ARN) of the last deployment job.
|
DeploymentStatus |
lastDeploymentStatus()
The status of the last fleet deployment.
|
String |
lastDeploymentStatusAsString()
The status of the last fleet deployment.
|
Instant |
lastDeploymentTime()
The time of the last deployment.
|
String |
name()
The name of the fleet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Fleet.Builder> |
serializableBuilderClass() |
Fleet.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the fleet.
public String arn()
The Amazon Resource Name (ARN) of the fleet.
public Instant createdAt()
The time, in milliseconds since the epoch, when the fleet was created.
public DeploymentStatus lastDeploymentStatus()
The status of the last fleet deployment.
If the service returns an enum value that is not available in the current SDK version,
lastDeploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from lastDeploymentStatusAsString()
.
DeploymentStatus
public String lastDeploymentStatusAsString()
The status of the last fleet deployment.
If the service returns an enum value that is not available in the current SDK version,
lastDeploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from lastDeploymentStatusAsString()
.
DeploymentStatus
public String lastDeploymentJob()
The Amazon Resource Name (ARN) of the last deployment job.
public Instant lastDeploymentTime()
The time of the last deployment.
public Fleet.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Fleet.Builder,Fleet>
public static Fleet.Builder builder()
public static Class<? extends Fleet.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.