Interface Target.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Target.Builder,Target>,SdkBuilder<Target.Builder,Target>,SdkPojo
- Enclosing class:
- Target
public static interface Target.Builder extends SdkPojo, CopyableBuilder<Target.Builder,Target>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Target.Builderkey(String key)User-defined criteria for sending commands that target managed nodes that meet the criteria.Target.Buildervalues(String... values)User-defined criteria that maps toKey.Target.Buildervalues(Collection<String> values)User-defined criteria that maps toKey.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
key
Target.Builder key(String key)
User-defined criteria for sending commands that target managed nodes that meet the criteria.
- Parameters:
key- User-defined criteria for sending commands that target managed nodes that meet the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Target.Builder values(Collection<String> values)
User-defined criteria that maps to
Key. For example, if you specifiedtag:ServerRole, you could specifyvalue:WebServerto run a command on instances that include EC2 tags ofServerRole,WebServer.Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
- Parameters:
values- User-defined criteria that maps toKey. For example, if you specifiedtag:ServerRole, you could specifyvalue:WebServerto run a command on instances that include EC2 tags ofServerRole,WebServer.Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Target.Builder values(String... values)
User-defined criteria that maps to
Key. For example, if you specifiedtag:ServerRole, you could specifyvalue:WebServerto run a command on instances that include EC2 tags ofServerRole,WebServer.Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
- Parameters:
values- User-defined criteria that maps toKey. For example, if you specifiedtag:ServerRole, you could specifyvalue:WebServerto run a command on instances that include EC2 tags ofServerRole,WebServer.Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-