Class Fleet
- java.lang.Object
-
- software.amazon.awssdk.services.robomaker.model.Fleet
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Fleet.Builder,Fleet>
@Generated("software.amazon.awssdk:codegen") public final class Fleet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Fleet.Builder,Fleet>
Information about a fleet.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFleet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the fleet.static Fleet.Builderbuilder()InstantcreatedAt()The time, in milliseconds since the epoch, when the fleet was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastDeploymentJob()The Amazon Resource Name (ARN) of the last deployment job.DeploymentStatuslastDeploymentStatus()The status of the last fleet deployment.StringlastDeploymentStatusAsString()The status of the last fleet deployment.InstantlastDeploymentTime()The time of the last deployment.Stringname()The name of the fleet.List<SdkField<?>>sdkFields()static Class<? extends Fleet.Builder>serializableBuilderClass()Fleet.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
-
name
public final String name()
The name of the fleet.
- Returns:
- The name of the fleet.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the fleet.
- Returns:
- The Amazon Resource Name (ARN) of the fleet.
-
createdAt
public final Instant createdAt()
The time, in milliseconds since the epoch, when the fleet was created.
- Returns:
- The time, in milliseconds since the epoch, when the fleet was created.
-
lastDeploymentStatus
public final 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,
lastDeploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastDeploymentStatusAsString().- Returns:
- The status of the last fleet deployment.
- See Also:
DeploymentStatus
-
lastDeploymentStatusAsString
public final 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,
lastDeploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastDeploymentStatusAsString().- Returns:
- The status of the last fleet deployment.
- See Also:
DeploymentStatus
-
lastDeploymentJob
public final String lastDeploymentJob()
The Amazon Resource Name (ARN) of the last deployment job.
- Returns:
- The Amazon Resource Name (ARN) of the last deployment job.
-
lastDeploymentTime
public final Instant lastDeploymentTime()
The time of the last deployment.
- Returns:
- The time of the last deployment.
-
toBuilder
public Fleet.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Fleet.Builder,Fleet>
-
builder
public static Fleet.Builder builder()
-
serializableBuilderClass
public static Class<? extends Fleet.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.
-
-