@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceInformationStringFilter extends Object implements Serializable, Cloneable, StructuredPojo
The filters to describe or get information about your managed nodes.
Constructor and Description |
---|
InstanceInformationStringFilter() |
Modifier and Type | Method and Description |
---|---|
InstanceInformationStringFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The filter key name to describe your managed nodes.
|
List<String> |
getValues()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The filter key name to describe your managed nodes.
|
void |
setValues(Collection<String> values)
The filter values.
|
String |
toString()
Returns a string representation of this object.
|
InstanceInformationStringFilter |
withKey(String key)
The filter key name to describe your managed nodes.
|
InstanceInformationStringFilter |
withValues(Collection<String> values)
The filter values.
|
InstanceInformationStringFilter |
withValues(String... values)
The filter values.
|
public void setKey(String key)
The filter key name to describe your managed nodes.
Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | InstanceIds | PingStatus |
PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" | "tag:{keyname}
Valid values for the AssociationStatus
filter key: Success | Pending | Failed
Valid values for the PingStatus
filter key: Online | ConnectionLost | Inactive (deprecated)
Valid values for the PlatformType
filter key: Windows | Linux | MacOS
Valid values for the ResourceType
filter key: EC2Instance | ManagedInstance
Valid values for the SourceType
filter key: AWS::EC2::Instance | AWS::SSM::ManagedInstance |
AWS::IoT::Thing
Valid tag examples: Key=tag-key,Values=Purpose
| Key=tag:Purpose,Values=Test
.
key
- The filter key name to describe your managed nodes.
Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | InstanceIds |
PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" | "tag:
{keyname}
Valid values for the AssociationStatus
filter key: Success | Pending | Failed
Valid values for the PingStatus
filter key: Online | ConnectionLost | Inactive (deprecated)
Valid values for the PlatformType
filter key: Windows | Linux | MacOS
Valid values for the ResourceType
filter key: EC2Instance | ManagedInstance
Valid values for the SourceType
filter key: AWS::EC2::Instance | AWS::SSM::ManagedInstance |
AWS::IoT::Thing
Valid tag examples: Key=tag-key,Values=Purpose
| Key=tag:Purpose,Values=Test
.
public String getKey()
The filter key name to describe your managed nodes.
Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | InstanceIds | PingStatus |
PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" | "tag:{keyname}
Valid values for the AssociationStatus
filter key: Success | Pending | Failed
Valid values for the PingStatus
filter key: Online | ConnectionLost | Inactive (deprecated)
Valid values for the PlatformType
filter key: Windows | Linux | MacOS
Valid values for the ResourceType
filter key: EC2Instance | ManagedInstance
Valid values for the SourceType
filter key: AWS::EC2::Instance | AWS::SSM::ManagedInstance |
AWS::IoT::Thing
Valid tag examples: Key=tag-key,Values=Purpose
| Key=tag:Purpose,Values=Test
.
Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | InstanceIds |
PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" | "tag:
{keyname}
Valid values for the AssociationStatus
filter key: Success | Pending | Failed
Valid values for the PingStatus
filter key: Online | ConnectionLost | Inactive (deprecated)
Valid values for the PlatformType
filter key: Windows | Linux | MacOS
Valid values for the ResourceType
filter key: EC2Instance | ManagedInstance
Valid values for the SourceType
filter key: AWS::EC2::Instance | AWS::SSM::ManagedInstance |
AWS::IoT::Thing
Valid tag examples: Key=tag-key,Values=Purpose
| Key=tag:Purpose,Values=Test
.
public InstanceInformationStringFilter withKey(String key)
The filter key name to describe your managed nodes.
Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | InstanceIds | PingStatus |
PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" | "tag:{keyname}
Valid values for the AssociationStatus
filter key: Success | Pending | Failed
Valid values for the PingStatus
filter key: Online | ConnectionLost | Inactive (deprecated)
Valid values for the PlatformType
filter key: Windows | Linux | MacOS
Valid values for the ResourceType
filter key: EC2Instance | ManagedInstance
Valid values for the SourceType
filter key: AWS::EC2::Instance | AWS::SSM::ManagedInstance |
AWS::IoT::Thing
Valid tag examples: Key=tag-key,Values=Purpose
| Key=tag:Purpose,Values=Test
.
key
- The filter key name to describe your managed nodes.
Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | InstanceIds |
PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" | "tag:
{keyname}
Valid values for the AssociationStatus
filter key: Success | Pending | Failed
Valid values for the PingStatus
filter key: Online | ConnectionLost | Inactive (deprecated)
Valid values for the PlatformType
filter key: Windows | Linux | MacOS
Valid values for the ResourceType
filter key: EC2Instance | ManagedInstance
Valid values for the SourceType
filter key: AWS::EC2::Instance | AWS::SSM::ManagedInstance |
AWS::IoT::Thing
Valid tag examples: Key=tag-key,Values=Purpose
| Key=tag:Purpose,Values=Test
.
public void setValues(Collection<String> values)
The filter values.
values
- The filter values.public InstanceInformationStringFilter withValues(String... values)
The filter values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The filter values.public InstanceInformationStringFilter withValues(Collection<String> values)
The filter values.
values
- The filter values.public String toString()
toString
in class Object
Object.toString()
public InstanceInformationStringFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.