Interface Target.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Target.Builder,,Target> SdkBuilder<Target.Builder,,Target> SdkPojo
- Enclosing class:
Target
-
Method Summary
Modifier and TypeMethodDescriptionUser-defined criteria for sending commands that target managed nodes that meet the criteria.User-defined criteria that maps toKey.values(Collection<String> values) User-defined criteria that maps toKey.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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.
-