Class UpdateManagedInstancesProviderConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateManagedInstancesProviderConfiguration.Builder,UpdateManagedInstancesProviderConfiguration>
The configuration for updating an Amazon ECS Managed Instances capacity provider. Used in
UpdateComputeEnvironment requests. The capacityOptionType and fipsEnabled
fields cannot be changed on update.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The updated infrastructure optimization configuration.final StringThe updated Amazon Resource Name (ARN) of the IAM role that Amazon ECS assumes to manage Amazon EC2 instances on your behalf.The updated instance launch configuration for the Amazon ECS Managed Instances capacity provider.final StringSpecifies whether tags on the capacity provider are propagated to the Amazon EC2 instances it launches.static Class<? extends UpdateManagedInstancesProviderConfiguration.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
propagateTags
Specifies whether tags on the capacity provider are propagated to the Amazon EC2 instances it launches. Valid values:
-
CAPACITY_PROVIDER— Propagates tags to instances. -
NONE— Does not propagate tags to instances.
- Returns:
- Specifies whether tags on the capacity provider are propagated to the Amazon EC2 instances it launches.
Valid values:
-
CAPACITY_PROVIDER— Propagates tags to instances. -
NONE— Does not propagate tags to instances.
-
-
-
infrastructureRoleArn
The updated Amazon Resource Name (ARN) of the IAM role that Amazon ECS assumes to manage Amazon EC2 instances on your behalf.
- Returns:
- The updated Amazon Resource Name (ARN) of the IAM role that Amazon ECS assumes to manage Amazon EC2 instances on your behalf.
-
instanceLaunchTemplate
The updated instance launch configuration for the Amazon ECS Managed Instances capacity provider.
- Returns:
- The updated instance launch configuration for the Amazon ECS Managed Instances capacity provider.
-
infrastructureOptimization
The updated infrastructure optimization configuration.
- Returns:
- The updated infrastructure optimization configuration.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateManagedInstancesProviderConfiguration.Builder,UpdateManagedInstancesProviderConfiguration>
-
builder
-
serializableBuilderClass
public static Class<? extends UpdateManagedInstancesProviderConfiguration.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-