@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.CisTargetStatus
public String getTargetStatus()
The status of the target resource.
CisTargetStatus
public CisTargetResourceAggregation withTargetStatus(String targetStatus)
The status of the target resource.
targetStatus
- The status of the target resource.CisTargetStatus
public CisTargetResourceAggregation withTargetStatus(CisTargetStatus targetStatus)
The status of the target resource.
targetStatus
- The status of the target resource.CisTargetStatus
public void setTargetStatusReason(String targetStatusReason)
The reason for the target resource.
targetStatusReason
- The reason for the target resource.CisTargetStatusReason
public String getTargetStatusReason()
The reason for the target resource.
CisTargetStatusReason
public CisTargetResourceAggregation withTargetStatusReason(String targetStatusReason)
The reason for the target resource.
targetStatusReason
- The reason for the target resource.CisTargetStatusReason
public CisTargetResourceAggregation withTargetStatusReason(CisTargetStatusReason targetStatusReason)
The reason for the target resource.
targetStatusReason
- The reason for the target resource.CisTargetStatusReason
public String toString()
toString
in class Object
Object.toString()
public CisTargetResourceAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.