Class UpdateDaemonRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDaemonRequest.Builder,UpdateDaemonRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateDaemonRequest.Builderbuilder()The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.final StringThe Amazon Resource Name (ARN) of the daemon to update.final StringThe Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.final BooleanSpecifies whether to turn on Amazon ECS managed tags for the tasks in the daemon.final BooleanIftrue, the execute command functionality is turned on for all tasks in the daemon.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the CapacityProviderArns property.final inthashCode()final DaemonPropagateTagsSpecifies whether to propagate the tags from the daemon to the daemon tasks.final StringSpecifies whether to propagate the tags from the daemon to the daemon tasks.static Class<? extends UpdateDaemonRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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
-
daemonArn
The Amazon Resource Name (ARN) of the daemon to update.
- Returns:
- The Amazon Resource Name (ARN) of the daemon to update.
-
daemonTaskDefinitionArn
The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.
- Returns:
- The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.
-
hasCapacityProviderArns
public final boolean hasCapacityProviderArns()For responses, this returns true if the service returned a value for the CapacityProviderArns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
capacityProviderArns
The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCapacityProviderArns()method.- Returns:
- The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.
-
deploymentConfiguration
Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.
- Returns:
- Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.
-
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.
If the service returns an enum value that is not available in the current SDK version,
propagateTagswill returnDaemonPropagateTags.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropagateTagsAsString().- Returns:
- 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.
- See Also:
-
propagateTagsAsString
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.
If the service returns an enum value that is not available in the current SDK version,
propagateTagswill returnDaemonPropagateTags.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropagateTagsAsString().- Returns:
- 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.
- 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.
- Returns:
- 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.
-
enableExecuteCommand
If
true, the execute command functionality is turned on for all tasks in the daemon. Iffalse, the execute command functionality is turned off.- Returns:
- If
true, the execute command functionality is turned on for all tasks in the daemon. Iffalse, the execute command functionality is turned off.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDaemonRequest.Builder,UpdateDaemonRequest> - Specified by:
toBuilderin classEcsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-