Class DeleteFleetSuccessItem
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.DeleteFleetSuccessItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeleteFleetSuccessItem.Builder,DeleteFleetSuccessItem>
@Generated("software.amazon.awssdk:codegen") public final class DeleteFleetSuccessItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeleteFleetSuccessItem.Builder,DeleteFleetSuccessItem>
Describes an EC2 Fleet that was successfully deleted.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteFleetSuccessItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteFleetSuccessItem.Builderbuilder()FleetStateCodecurrentFleetState()The current state of the EC2 Fleet.StringcurrentFleetStateAsString()The current state of the EC2 Fleet.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetId()The ID of the EC2 Fleet.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FleetStateCodepreviousFleetState()The previous state of the EC2 Fleet.StringpreviousFleetStateAsString()The previous state of the EC2 Fleet.List<SdkField<?>>sdkFields()static Class<? extends DeleteFleetSuccessItem.Builder>serializableBuilderClass()DeleteFleetSuccessItem.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
-
currentFleetState
public final FleetStateCode currentFleetState()
The current state of the EC2 Fleet.
If the service returns an enum value that is not available in the current SDK version,
currentFleetStatewill returnFleetStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentFleetStateAsString().- Returns:
- The current state of the EC2 Fleet.
- See Also:
FleetStateCode
-
currentFleetStateAsString
public final String currentFleetStateAsString()
The current state of the EC2 Fleet.
If the service returns an enum value that is not available in the current SDK version,
currentFleetStatewill returnFleetStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentFleetStateAsString().- Returns:
- The current state of the EC2 Fleet.
- See Also:
FleetStateCode
-
previousFleetState
public final FleetStateCode previousFleetState()
The previous state of the EC2 Fleet.
If the service returns an enum value that is not available in the current SDK version,
previousFleetStatewill returnFleetStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreviousFleetStateAsString().- Returns:
- The previous state of the EC2 Fleet.
- See Also:
FleetStateCode
-
previousFleetStateAsString
public final String previousFleetStateAsString()
The previous state of the EC2 Fleet.
If the service returns an enum value that is not available in the current SDK version,
previousFleetStatewill returnFleetStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreviousFleetStateAsString().- Returns:
- The previous state of the EC2 Fleet.
- See Also:
FleetStateCode
-
fleetId
public final String fleetId()
The ID of the EC2 Fleet.
- Returns:
- The ID of the EC2 Fleet.
-
toBuilder
public DeleteFleetSuccessItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteFleetSuccessItem.Builder,DeleteFleetSuccessItem>
-
builder
public static DeleteFleetSuccessItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteFleetSuccessItem.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.
-
-