CopyableBuilder<RunCommandTarget.Builder,RunCommandTarget>, SdkBuilder<RunCommandTarget.Builder,RunCommandTarget>public static interface RunCommandTarget.Builder extends CopyableBuilder<RunCommandTarget.Builder,RunCommandTarget>
| Modifier and Type | Method | Description |
|---|---|---|
RunCommandTarget.Builder |
key(String key) |
Can be either
tag: tag-key or InstanceIds. |
RunCommandTarget.Builder |
values(String... values) |
If
Key is tag: tag-key, Values is a list of tag values. |
RunCommandTarget.Builder |
values(Collection<String> values) |
If
Key is tag: tag-key, Values is a list of tag values. |
copyapply, buildRunCommandTarget.Builder key(String key)
Can be either tag: tag-key or InstanceIds.
key - Can be either tag: tag-key or InstanceIds.RunCommandTarget.Builder values(Collection<String> values)
If Key is tag: tag-key, Values is a list of tag values. If
Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.
values - If Key is tag: tag-key, Values is a list of tag values.
If Key is InstanceIds, Values is a list of Amazon EC2 instance
IDs.RunCommandTarget.Builder values(String... values)
If Key is tag: tag-key, Values is a list of tag values. If
Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
#setValues(java.util.Collection) or #withValues(java.util.Collection) if you want to override
the existing values.
values - If Key is tag: tag-key, Values is a list of tag values.
If Key is InstanceIds, Values is a list of Amazon EC2 instance
IDs.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.