@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Summary extends Object implements Serializable, Cloneable, StructuredPojo
A count of noncompliant resources.
Constructor and Description |
---|
Summary() |
Modifier and Type | Method and Description |
---|---|
Summary |
clone() |
boolean |
equals(Object obj) |
String |
getLastUpdated()
The timestamp that shows when this summary was generated in this Region.
|
Long |
getNonCompliantResources()
The count of noncompliant resources.
|
String |
getRegion()
The Amazon Web Services Region that the summary applies to.
|
String |
getResourceType()
The Amazon Web Services resource type.
|
String |
getTargetId()
The account identifier or the root identifier of the organization.
|
String |
getTargetIdType()
Whether the target is an account, an OU, or the organization root.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastUpdated(String lastUpdated)
The timestamp that shows when this summary was generated in this Region.
|
void |
setNonCompliantResources(Long nonCompliantResources)
The count of noncompliant resources.
|
void |
setRegion(String region)
The Amazon Web Services Region that the summary applies to.
|
void |
setResourceType(String resourceType)
The Amazon Web Services resource type.
|
void |
setTargetId(String targetId)
The account identifier or the root identifier of the organization.
|
void |
setTargetIdType(String targetIdType)
Whether the target is an account, an OU, or the organization root.
|
String |
toString()
Returns a string representation of this object.
|
Summary |
withLastUpdated(String lastUpdated)
The timestamp that shows when this summary was generated in this Region.
|
Summary |
withNonCompliantResources(Long nonCompliantResources)
The count of noncompliant resources.
|
Summary |
withRegion(String region)
The Amazon Web Services Region that the summary applies to.
|
Summary |
withResourceType(String resourceType)
The Amazon Web Services resource type.
|
Summary |
withTargetId(String targetId)
The account identifier or the root identifier of the organization.
|
Summary |
withTargetIdType(String targetIdType)
Whether the target is an account, an OU, or the organization root.
|
Summary |
withTargetIdType(TargetIdType targetIdType)
Whether the target is an account, an OU, or the organization root.
|
public void setLastUpdated(String lastUpdated)
The timestamp that shows when this summary was generated in this Region.
lastUpdated
- The timestamp that shows when this summary was generated in this Region.public String getLastUpdated()
The timestamp that shows when this summary was generated in this Region.
public Summary withLastUpdated(String lastUpdated)
The timestamp that shows when this summary was generated in this Region.
lastUpdated
- The timestamp that shows when this summary was generated in this Region.public void setTargetId(String targetId)
The account identifier or the root identifier of the organization. If you don't know the root ID, you can call the Organizations ListRoots API.
targetId
- The account identifier or the root identifier of the organization. If you don't know the root ID, you can
call the Organizations ListRoots API.public String getTargetId()
The account identifier or the root identifier of the organization. If you don't know the root ID, you can call the Organizations ListRoots API.
public Summary withTargetId(String targetId)
The account identifier or the root identifier of the organization. If you don't know the root ID, you can call the Organizations ListRoots API.
targetId
- The account identifier or the root identifier of the organization. If you don't know the root ID, you can
call the Organizations ListRoots API.public void setTargetIdType(String targetIdType)
Whether the target is an account, an OU, or the organization root.
targetIdType
- Whether the target is an account, an OU, or the organization root.TargetIdType
public String getTargetIdType()
Whether the target is an account, an OU, or the organization root.
TargetIdType
public Summary withTargetIdType(String targetIdType)
Whether the target is an account, an OU, or the organization root.
targetIdType
- Whether the target is an account, an OU, or the organization root.TargetIdType
public Summary withTargetIdType(TargetIdType targetIdType)
Whether the target is an account, an OU, or the organization root.
targetIdType
- Whether the target is an account, an OU, or the organization root.TargetIdType
public void setRegion(String region)
The Amazon Web Services Region that the summary applies to.
region
- The Amazon Web Services Region that the summary applies to.public String getRegion()
The Amazon Web Services Region that the summary applies to.
public Summary withRegion(String region)
The Amazon Web Services Region that the summary applies to.
region
- The Amazon Web Services Region that the summary applies to.public void setResourceType(String resourceType)
The Amazon Web Services resource type.
resourceType
- The Amazon Web Services resource type.public String getResourceType()
The Amazon Web Services resource type.
public Summary withResourceType(String resourceType)
The Amazon Web Services resource type.
resourceType
- The Amazon Web Services resource type.public void setNonCompliantResources(Long nonCompliantResources)
The count of noncompliant resources.
nonCompliantResources
- The count of noncompliant resources.public Long getNonCompliantResources()
The count of noncompliant resources.
public Summary withNonCompliantResources(Long nonCompliantResources)
The count of noncompliant resources.
nonCompliantResources
- The count of noncompliant resources.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.