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 instances 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 instances that meet the criteria.
key
- User-defined criteria for sending commands that target instances 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 Amazon EC2 tags of ServerRole,WebServer
.
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 Amazon EC2 tags of ServerRole,WebServer
.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 Amazon EC2 tags of ServerRole,WebServer
.
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 Amazon EC2 tags of ServerRole,WebServer
.Copyright © 2020. All rights reserved.