@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCisTargets extends Object implements Serializable, Cloneable, StructuredPojo
Creates CIS targets.
Constructor and Description |
---|
CreateCisTargets() |
Modifier and Type | Method and Description |
---|---|
CreateCisTargets |
addTargetResourceTagsEntry(String key,
List<String> value)
Add a single TargetResourceTags entry
|
CreateCisTargets |
clearTargetResourceTagsEntries()
Removes all the entries added into TargetResourceTags.
|
CreateCisTargets |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The CIS target account ids.
|
Map<String,List<String>> |
getTargetResourceTags()
The CIS target resource tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountIds(Collection<String> accountIds)
The CIS target account ids.
|
void |
setTargetResourceTags(Map<String,List<String>> targetResourceTags)
The CIS target resource tags.
|
String |
toString()
Returns a string representation of this object.
|
CreateCisTargets |
withAccountIds(Collection<String> accountIds)
The CIS target account ids.
|
CreateCisTargets |
withAccountIds(String... accountIds)
The CIS target account ids.
|
CreateCisTargets |
withTargetResourceTags(Map<String,List<String>> targetResourceTags)
The CIS target resource tags.
|
public List<String> getAccountIds()
The CIS target account ids.
public void setAccountIds(Collection<String> accountIds)
The CIS target account ids.
accountIds
- The CIS target account ids.public CreateCisTargets withAccountIds(String... accountIds)
The CIS target account ids.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The CIS target account ids.public CreateCisTargets withAccountIds(Collection<String> accountIds)
The CIS target account ids.
accountIds
- The CIS target account ids.public Map<String,List<String>> getTargetResourceTags()
The CIS target resource tags.
public void setTargetResourceTags(Map<String,List<String>> targetResourceTags)
The CIS target resource tags.
targetResourceTags
- The CIS target resource tags.public CreateCisTargets withTargetResourceTags(Map<String,List<String>> targetResourceTags)
The CIS target resource tags.
targetResourceTags
- The CIS target resource tags.public CreateCisTargets addTargetResourceTagsEntry(String key, List<String> value)
public CreateCisTargets clearTargetResourceTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateCisTargets clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.