Class GetFleetResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.deadline.model.DeadlineResponse
-
- software.amazon.awssdk.services.deadline.model.GetFleetResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetFleetResponse.Builder,GetFleetResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetFleetResponse extends DeadlineResponse implements ToCopyableBuilder<GetFleetResponse.Builder,GetFleetResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetFleetResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoScalingStatusautoScalingStatus()The Auto Scaling status of the fleet.StringautoScalingStatusAsString()The Auto Scaling status of the fleet.static GetFleetResponse.Builderbuilder()FleetCapabilitiescapabilities()Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.FleetConfigurationconfiguration()The configuration setting for the fleet.InstantcreatedAt()The date and time the resource was created.StringcreatedBy()The user or system that created this resource.Stringdescription()The description of the fleet.StringdisplayName()The display name of the fleet.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfarmId()The farm ID of the farm in the fleet.StringfleetId()The fleet ID.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxWorkerCount()The maximum number of workers specified in the fleet.IntegerminWorkerCount()The minimum number of workers specified in the fleet.StringroleArn()The IAM role ARN.List<SdkField<?>>sdkFields()static Class<? extends GetFleetResponse.Builder>serializableBuilderClass()FleetStatusstatus()The Auto Scaling status of the fleet.StringstatusAsString()The Auto Scaling status of the fleet.IntegertargetWorkerCount()The number of target workers in the fleet.GetFleetResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The date and time the resource was updated.StringupdatedBy()The user or system that updated this resource.IntegerworkerCount()The number of workers in the fleet.-
Methods inherited from class software.amazon.awssdk.services.deadline.model.DeadlineResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
autoScalingStatus
public final AutoScalingStatus autoScalingStatus()
The Auto Scaling status of the fleet. Either
GROWING,STEADY, orSHRINKING.If the service returns an enum value that is not available in the current SDK version,
autoScalingStatuswill returnAutoScalingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoScalingStatusAsString().- Returns:
- The Auto Scaling status of the fleet. Either
GROWING,STEADY, orSHRINKING. - See Also:
AutoScalingStatus
-
autoScalingStatusAsString
public final String autoScalingStatusAsString()
The Auto Scaling status of the fleet. Either
GROWING,STEADY, orSHRINKING.If the service returns an enum value that is not available in the current SDK version,
autoScalingStatuswill returnAutoScalingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoScalingStatusAsString().- Returns:
- The Auto Scaling status of the fleet. Either
GROWING,STEADY, orSHRINKING. - See Also:
AutoScalingStatus
-
capabilities
public final FleetCapabilities capabilities()
Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
- Returns:
- Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
-
configuration
public final FleetConfiguration configuration()
The configuration setting for the fleet.
- Returns:
- The configuration setting for the fleet.
-
createdAt
public final Instant createdAt()
The date and time the resource was created.
- Returns:
- The date and time the resource was created.
-
createdBy
public final String createdBy()
The user or system that created this resource.
- Returns:
- The user or system that created this resource.
-
description
public final String description()
The description of the fleet.
- Returns:
- The description of the fleet.
-
displayName
public final String displayName()
The display name of the fleet.
- Returns:
- The display name of the fleet.
-
farmId
public final String farmId()
The farm ID of the farm in the fleet.
- Returns:
- The farm ID of the farm in the fleet.
-
fleetId
public final String fleetId()
The fleet ID.
- Returns:
- The fleet ID.
-
maxWorkerCount
public final Integer maxWorkerCount()
The maximum number of workers specified in the fleet.
- Returns:
- The maximum number of workers specified in the fleet.
-
minWorkerCount
public final Integer minWorkerCount()
The minimum number of workers specified in the fleet.
- Returns:
- The minimum number of workers specified in the fleet.
-
roleArn
public final String roleArn()
The IAM role ARN.
- Returns:
- The IAM role ARN.
-
status
public final FleetStatus status()
The Auto Scaling status of the fleet.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFleetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The Auto Scaling status of the fleet.
- See Also:
FleetStatus
-
statusAsString
public final String statusAsString()
The Auto Scaling status of the fleet.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFleetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The Auto Scaling status of the fleet.
- See Also:
FleetStatus
-
targetWorkerCount
public final Integer targetWorkerCount()
The number of target workers in the fleet.
- Returns:
- The number of target workers in the fleet.
-
updatedAt
public final Instant updatedAt()
The date and time the resource was updated.
- Returns:
- The date and time the resource was updated.
-
updatedBy
public final String updatedBy()
The user or system that updated this resource.
- Returns:
- The user or system that updated this resource.
-
workerCount
public final Integer workerCount()
The number of workers in the fleet.
- Returns:
- The number of workers in the fleet.
-
toBuilder
public GetFleetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetFleetResponse.Builder,GetFleetResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetFleetResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetFleetResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-