public static interface Target.Builder extends SdkPojo, CopyableBuilder<Target.Builder,Target>
Modifier and Type | Method and Description |
---|---|
Target.Builder |
key(String key)
User-defined criteria for sending commands that target managed nodes that meet the criteria.
|
Target.Builder |
values(Collection<String> values)
User-defined criteria that maps to
Key . |
Target.Builder |
values(String... values)
User-defined criteria that maps to
Key . |
equalsBySdkFields, sdkFields
copy
applyMutation, build
Target.Builder key(String key)
User-defined criteria for sending commands that target managed nodes that meet the criteria.
key
- User-defined criteria for sending commands that target managed nodes that meet the criteria.Target.Builder values(Collection<String> values)
User-defined criteria that maps to Key
. For example, if you specified
tag:ServerRole
, you could specify value:WebServer
to run a command on instances
that include EC2 tags of ServerRole,WebServer
.
Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
values
- User-defined criteria that maps to Key
. For example, if you specified
tag:ServerRole
, you could specify value:WebServer
to run a command on
instances that include EC2 tags of ServerRole,WebServer
.
Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
Target.Builder values(String... values)
User-defined criteria that maps to Key
. For example, if you specified
tag:ServerRole
, you could specify value:WebServer
to run a command on instances
that include EC2 tags of ServerRole,WebServer
.
Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
values
- User-defined criteria that maps to Key
. For example, if you specified
tag:ServerRole
, you could specify value:WebServer
to run a command on
instances that include EC2 tags of ServerRole,WebServer
.
Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
Copyright © 2022. All rights reserved.