Class FleetConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.FleetConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FleetConfiguration.Builder,FleetConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class FleetConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FleetConfiguration.Builder,FleetConfiguration>
Fleet configuration details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFleetConfiguration.Builderstatic classFleetConfiguration.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetConfiguration.Builderbuilder()CustomerManagedFleetConfigurationcustomerManaged()The customer managed fleets within a fleet configuration.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static FleetConfigurationfromCustomerManaged(Consumer<CustomerManagedFleetConfiguration.Builder> customerManaged)Create an instance of this class withcustomerManaged()initialized to the given value.static FleetConfigurationfromCustomerManaged(CustomerManagedFleetConfiguration customerManaged)Create an instance of this class withcustomerManaged()initialized to the given value.static FleetConfigurationfromServiceManagedEc2(Consumer<ServiceManagedEc2FleetConfiguration.Builder> serviceManagedEc2)Create an instance of this class withserviceManagedEc2()initialized to the given value.static FleetConfigurationfromServiceManagedEc2(ServiceManagedEc2FleetConfiguration serviceManagedEc2)Create an instance of this class withserviceManagedEc2()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FleetConfiguration.Builder>serializableBuilderClass()ServiceManagedEc2FleetConfigurationserviceManagedEc2()The service managed Amazon EC2 instances for a fleet configuration.FleetConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.FleetConfiguration.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
customerManaged
public final CustomerManagedFleetConfiguration customerManaged()
The customer managed fleets within a fleet configuration.
- Returns:
- The customer managed fleets within a fleet configuration.
-
serviceManagedEc2
public final ServiceManagedEc2FleetConfiguration serviceManagedEc2()
The service managed Amazon EC2 instances for a fleet configuration.
- Returns:
- The service managed Amazon EC2 instances for a fleet configuration.
-
toBuilder
public FleetConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FleetConfiguration.Builder,FleetConfiguration>
-
builder
public static FleetConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends FleetConfiguration.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.
-
fromCustomerManaged
public static FleetConfiguration fromCustomerManaged(CustomerManagedFleetConfiguration customerManaged)
Create an instance of this class withcustomerManaged()initialized to the given value.The customer managed fleets within a fleet configuration.
- Parameters:
customerManaged- The customer managed fleets within a fleet configuration.
-
fromCustomerManaged
public static FleetConfiguration fromCustomerManaged(Consumer<CustomerManagedFleetConfiguration.Builder> customerManaged)
Create an instance of this class withcustomerManaged()initialized to the given value.The customer managed fleets within a fleet configuration.
- Parameters:
customerManaged- The customer managed fleets within a fleet configuration.
-
fromServiceManagedEc2
public static FleetConfiguration fromServiceManagedEc2(ServiceManagedEc2FleetConfiguration serviceManagedEc2)
Create an instance of this class withserviceManagedEc2()initialized to the given value.The service managed Amazon EC2 instances for a fleet configuration.
- Parameters:
serviceManagedEc2- The service managed Amazon EC2 instances for a fleet configuration.
-
fromServiceManagedEc2
public static FleetConfiguration fromServiceManagedEc2(Consumer<ServiceManagedEc2FleetConfiguration.Builder> serviceManagedEc2)
Create an instance of this class withserviceManagedEc2()initialized to the given value.The service managed Amazon EC2 instances for a fleet configuration.
- Parameters:
serviceManagedEc2- The service managed Amazon EC2 instances for a fleet configuration.
-
type
public FleetConfiguration.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beFleetConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beFleetConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-