Interface UpdateDaemonRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDaemonRequest.Builder,,UpdateDaemonRequest> EcsRequest.Builder,SdkBuilder<UpdateDaemonRequest.Builder,,UpdateDaemonRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDaemonRequest
-
Method Summary
Modifier and TypeMethodDescriptioncapacityProviderArns(String... capacityProviderArns) The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.capacityProviderArns(Collection<String> capacityProviderArns) The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.The Amazon Resource Name (ARN) of the daemon to update.daemonTaskDefinitionArn(String daemonTaskDefinitionArn) The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.default UpdateDaemonRequest.BuilderdeploymentConfiguration(Consumer<DaemonDeploymentConfiguration.Builder> deploymentConfiguration) Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.deploymentConfiguration(DaemonDeploymentConfiguration deploymentConfiguration) Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.enableECSManagedTags(Boolean enableECSManagedTags) Specifies whether to turn on Amazon ECS managed tags for the tasks in the daemon.enableExecuteCommand(Boolean enableExecuteCommand) Iftrue, the execute command functionality is turned on for all tasks in the daemon.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.propagateTags(String propagateTags) Specifies whether to propagate the tags from the daemon to the daemon tasks.propagateTags(DaemonPropagateTags propagateTags) Specifies whether to propagate the tags from the daemon to the daemon tasks.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
daemonArn
The Amazon Resource Name (ARN) of the daemon to update.
- Parameters:
daemonArn- The Amazon Resource Name (ARN) of the daemon to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daemonTaskDefinitionArn
The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.
- Parameters:
daemonTaskDefinitionArn- The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviderArns
The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.
- Parameters:
capacityProviderArns- The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviderArns
The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.
- Parameters:
capacityProviderArns- The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfiguration
UpdateDaemonRequest.Builder deploymentConfiguration(DaemonDeploymentConfiguration deploymentConfiguration) Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.
- Parameters:
deploymentConfiguration- Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfiguration
default UpdateDaemonRequest.Builder deploymentConfiguration(Consumer<DaemonDeploymentConfiguration.Builder> deploymentConfiguration) Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.
This is a convenience method that creates an instance of theDaemonDeploymentConfiguration.Builderavoiding the need to create one manually viaDaemonDeploymentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfiguration(DaemonDeploymentConfiguration).- Parameters:
deploymentConfiguration- a consumer that will call methods onDaemonDeploymentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies whether to propagate the tags from the daemon to the daemon tasks. If you don't specify a value, the tags aren't propagated. You can only propagate tags to daemon tasks during task creation.
- Parameters:
propagateTags- Specifies whether to propagate the tags from the daemon to the daemon tasks. If you don't specify a value, the tags aren't propagated. You can only propagate tags to daemon tasks during task creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies whether to propagate the tags from the daemon to the daemon tasks. If you don't specify a value, the tags aren't propagated. You can only propagate tags to daemon tasks during task creation.
- Parameters:
propagateTags- Specifies whether to propagate the tags from the daemon to the daemon tasks. If you don't specify a value, the tags aren't propagated. You can only propagate tags to daemon tasks during task creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableECSManagedTags
Specifies whether to turn on Amazon ECS managed tags for the tasks in the daemon. For more information, see Tagging your Amazon ECS resources in the Amazon Elastic Container Service Developer Guide.
- Parameters:
enableECSManagedTags- Specifies whether to turn on Amazon ECS managed tags for the tasks in the daemon. For more information, see Tagging your Amazon ECS resources in the Amazon Elastic Container Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableExecuteCommand
If
true, the execute command functionality is turned on for all tasks in the daemon. Iffalse, the execute command functionality is turned off.- Parameters:
enableExecuteCommand- Iftrue, the execute command functionality is turned on for all tasks in the daemon. Iffalse, the execute command functionality is turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDaemonRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDaemonRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-