Interface RunCommandTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RunCommandTarget.Builder,RunCommandTarget>,SdkBuilder<RunCommandTarget.Builder,RunCommandTarget>,SdkPojo
- Enclosing class:
- RunCommandTarget
public static interface RunCommandTarget.Builder extends SdkPojo, CopyableBuilder<RunCommandTarget.Builder,RunCommandTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RunCommandTarget.Builderkey(String key)Can be eithertag:tag-key orInstanceIds.RunCommandTarget.Buildervalues(String... values)IfKeyistag:tag-key,Valuesis a list of tag values.RunCommandTarget.Buildervalues(Collection<String> values)IfKeyistag:tag-key,Valuesis a list of tag values.-
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
RunCommandTarget.Builder key(String key)
Can be either
tag:tag-key orInstanceIds.- Parameters:
key- Can be eithertag:tag-key orInstanceIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
RunCommandTarget.Builder values(Collection<String> values)
If
Keyistag:tag-key,Valuesis a list of tag values. IfKeyisInstanceIds,Valuesis a list of Amazon EC2 instance IDs.- Parameters:
values- IfKeyistag:tag-key,Valuesis a list of tag values. IfKeyisInstanceIds,Valuesis a list of Amazon EC2 instance IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
RunCommandTarget.Builder values(String... values)
If
Keyistag:tag-key,Valuesis a list of tag values. IfKeyisInstanceIds,Valuesis a list of Amazon EC2 instance IDs.- Parameters:
values- IfKeyistag:tag-key,Valuesis a list of tag values. IfKeyisInstanceIds,Valuesis a list of Amazon EC2 instance IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-