StructuredPojo
, ToCopyableBuilder<RunCommandTarget.Builder,RunCommandTarget>
@Generated("software.amazon.awssdk:codegen") public class RunCommandTarget extends Object implements StructuredPojo, ToCopyableBuilder<RunCommandTarget.Builder,RunCommandTarget>
Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each
RunCommandTarget
block can include only one key, but this key may specify multiple values.
Modifier and Type | Class | Description |
---|---|---|
static interface |
RunCommandTarget.Builder |
Modifier and Type | Method | Description |
---|---|---|
static RunCommandTarget.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
key() |
Can be either
tag: tag-key or InstanceIds . |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends RunCommandTarget.Builder> |
serializableBuilderClass() |
|
RunCommandTarget.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<String> |
values() |
If
Key is tag: tag-key, Values is a list of tag values. |
public String key()
Can be either tag:
tag-key or InstanceIds
.
tag:
tag-key or InstanceIds
.public List<String> values()
If Key
is tag:
tag-key, Values
is a list of tag values. If
Key
is InstanceIds
, Values
is a list of Amazon EC2 instance IDs.
Key
is tag:
tag-key, Values
is a list of tag values. If
Key
is InstanceIds
, Values
is a list of Amazon EC2 instance IDs.public RunCommandTarget.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RunCommandTarget.Builder,RunCommandTarget>
public static RunCommandTarget.Builder builder()
public static Class<? extends RunCommandTarget.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.