Class UpdateManagedInstancesProviderConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.UpdateManagedInstancesProviderConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateManagedInstancesProviderConfiguration.Builder,UpdateManagedInstancesProviderConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class UpdateManagedInstancesProviderConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateManagedInstancesProviderConfiguration.Builder,UpdateManagedInstancesProviderConfiguration>
The updated configuration for a Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes apply to new instances launched after the update.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateManagedInstancesProviderConfiguration.Builder
-
Method Summary
-
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
-
infrastructureRoleArn
public final String infrastructureRoleArn()
The updated Amazon Resource Name (ARN) of the infrastructure role. The new role must have the necessary permissions to manage instances and access required Amazon Web Services services.
For more information, see Amazon ECS infrastructure IAM role in the Amazon ECS Developer Guide.
- Returns:
- The updated Amazon Resource Name (ARN) of the infrastructure role. The new role must have the necessary
permissions to manage instances and access required Amazon Web Services services.
For more information, see Amazon ECS infrastructure IAM role in the Amazon ECS Developer Guide.
-
instanceLaunchTemplate
public final InstanceLaunchTemplateUpdate instanceLaunchTemplate()
The updated launch template configuration. Changes to the launch template affect new instances launched after the update, while existing instances continue to use their original configuration.
- Returns:
- The updated launch template configuration. Changes to the launch template affect new instances launched after the update, while existing instances continue to use their original configuration.
-
propagateTags
public final PropagateMITags propagateTags()
The updated tag propagation setting. When changed, this affects only new instances launched after the update.
If the service returns an enum value that is not available in the current SDK version,
propagateTagswill returnPropagateMITags.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropagateTagsAsString().- Returns:
- The updated tag propagation setting. When changed, this affects only new instances launched after the update.
- See Also:
PropagateMITags
-
propagateTagsAsString
public final String propagateTagsAsString()
The updated tag propagation setting. When changed, this affects only new instances launched after the update.
If the service returns an enum value that is not available in the current SDK version,
propagateTagswill returnPropagateMITags.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropagateTagsAsString().- Returns:
- The updated tag propagation setting. When changed, this affects only new instances launched after the update.
- See Also:
PropagateMITags
-
infrastructureOptimization
public final InfrastructureOptimization infrastructureOptimization()
The updated infrastructure optimization configuration. Changes to this setting affect how Amazon ECS optimizes instances going forward.
- Returns:
- The updated infrastructure optimization configuration. Changes to this setting affect how Amazon ECS optimizes instances going forward.
-
toBuilder
public UpdateManagedInstancesProviderConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateManagedInstancesProviderConfiguration.Builder,UpdateManagedInstancesProviderConfiguration>
-
builder
public static UpdateManagedInstancesProviderConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateManagedInstancesProviderConfiguration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-