@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CisTargetResourceAggregation extends Object implements Serializable, Cloneable, StructuredPojo
The CIS target resource aggregation.
| Constructor and Description |
|---|
CisTargetResourceAggregation() |
| Modifier and Type | Method and Description |
|---|---|
CisTargetResourceAggregation |
addTargetResourceTagsEntry(String key,
List<String> value)
Add a single TargetResourceTags entry
|
CisTargetResourceAggregation |
clearTargetResourceTagsEntries()
Removes all the entries added into TargetResourceTags.
|
CisTargetResourceAggregation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID for the CIS target resource.
|
String |
getPlatform()
The platform for the CIS target resource.
|
String |
getScanArn()
The scan ARN for the CIS target resource.
|
StatusCounts |
getStatusCounts()
The target resource status counts.
|
String |
getTargetResourceId()
The ID of the target resource.
|
Map<String,List<String>> |
getTargetResourceTags()
The tag for the target resource.
|
String |
getTargetStatus()
The status of the target resource.
|
String |
getTargetStatusReason()
The reason for the target resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The account ID for the CIS target resource.
|
void |
setPlatform(String platform)
The platform for the CIS target resource.
|
void |
setScanArn(String scanArn)
The scan ARN for the CIS target resource.
|
void |
setStatusCounts(StatusCounts statusCounts)
The target resource status counts.
|
void |
setTargetResourceId(String targetResourceId)
The ID of the target resource.
|
void |
setTargetResourceTags(Map<String,List<String>> targetResourceTags)
The tag for the target resource.
|
void |
setTargetStatus(String targetStatus)
The status of the target resource.
|
void |
setTargetStatusReason(String targetStatusReason)
The reason for the target resource.
|
String |
toString()
Returns a string representation of this object.
|
CisTargetResourceAggregation |
withAccountId(String accountId)
The account ID for the CIS target resource.
|
CisTargetResourceAggregation |
withPlatform(String platform)
The platform for the CIS target resource.
|
CisTargetResourceAggregation |
withScanArn(String scanArn)
The scan ARN for the CIS target resource.
|
CisTargetResourceAggregation |
withStatusCounts(StatusCounts statusCounts)
The target resource status counts.
|
CisTargetResourceAggregation |
withTargetResourceId(String targetResourceId)
The ID of the target resource.
|
CisTargetResourceAggregation |
withTargetResourceTags(Map<String,List<String>> targetResourceTags)
The tag for the target resource.
|
CisTargetResourceAggregation |
withTargetStatus(CisTargetStatus targetStatus)
The status of the target resource.
|
CisTargetResourceAggregation |
withTargetStatus(String targetStatus)
The status of the target resource.
|
CisTargetResourceAggregation |
withTargetStatusReason(CisTargetStatusReason targetStatusReason)
The reason for the target resource.
|
CisTargetResourceAggregation |
withTargetStatusReason(String targetStatusReason)
The reason for the target resource.
|
public void setAccountId(String accountId)
The account ID for the CIS target resource.
accountId - The account ID for the CIS target resource.public String getAccountId()
The account ID for the CIS target resource.
public CisTargetResourceAggregation withAccountId(String accountId)
The account ID for the CIS target resource.
accountId - The account ID for the CIS target resource.public void setPlatform(String platform)
The platform for the CIS target resource.
platform - The platform for the CIS target resource.public String getPlatform()
The platform for the CIS target resource.
public CisTargetResourceAggregation withPlatform(String platform)
The platform for the CIS target resource.
platform - The platform for the CIS target resource.public void setScanArn(String scanArn)
The scan ARN for the CIS target resource.
scanArn - The scan ARN for the CIS target resource.public String getScanArn()
The scan ARN for the CIS target resource.
public CisTargetResourceAggregation withScanArn(String scanArn)
The scan ARN for the CIS target resource.
scanArn - The scan ARN for the CIS target resource.public void setStatusCounts(StatusCounts statusCounts)
The target resource status counts.
statusCounts - The target resource status counts.public StatusCounts getStatusCounts()
The target resource status counts.
public CisTargetResourceAggregation withStatusCounts(StatusCounts statusCounts)
The target resource status counts.
statusCounts - The target resource status counts.public void setTargetResourceId(String targetResourceId)
The ID of the target resource.
targetResourceId - The ID of the target resource.public String getTargetResourceId()
The ID of the target resource.
public CisTargetResourceAggregation withTargetResourceId(String targetResourceId)
The ID of the target resource.
targetResourceId - The ID of the target resource.public Map<String,List<String>> getTargetResourceTags()
The tag for the target resource.
public void setTargetResourceTags(Map<String,List<String>> targetResourceTags)
The tag for the target resource.
targetResourceTags - The tag for the target resource.public CisTargetResourceAggregation withTargetResourceTags(Map<String,List<String>> targetResourceTags)
The tag for the target resource.
targetResourceTags - The tag for the target resource.public CisTargetResourceAggregation addTargetResourceTagsEntry(String key, List<String> value)
public CisTargetResourceAggregation clearTargetResourceTagsEntries()
public void setTargetStatus(String targetStatus)
The status of the target resource.
targetStatus - The status of the target resource.CisTargetStatuspublic String getTargetStatus()
The status of the target resource.
CisTargetStatuspublic CisTargetResourceAggregation withTargetStatus(String targetStatus)
The status of the target resource.
targetStatus - The status of the target resource.CisTargetStatuspublic CisTargetResourceAggregation withTargetStatus(CisTargetStatus targetStatus)
The status of the target resource.
targetStatus - The status of the target resource.CisTargetStatuspublic void setTargetStatusReason(String targetStatusReason)
The reason for the target resource.
targetStatusReason - The reason for the target resource.CisTargetStatusReasonpublic String getTargetStatusReason()
The reason for the target resource.
CisTargetStatusReasonpublic CisTargetResourceAggregation withTargetStatusReason(String targetStatusReason)
The reason for the target resource.
targetStatusReason - The reason for the target resource.CisTargetStatusReasonpublic CisTargetResourceAggregation withTargetStatusReason(CisTargetStatusReason targetStatusReason)
The reason for the target resource.
targetStatusReason - The reason for the target resource.CisTargetStatusReasonpublic String toString()
toString in class ObjectObject.toString()public CisTargetResourceAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.