@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Account extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.
Constructor and Description |
---|
Account() |
Modifier and Type | Method and Description |
---|---|
Account |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account.
|
ResourceStatus |
getResourceStatus()
Details of the status of Amazon Inspector scans by resource type.
|
String |
getStatus()
The status of Amazon Inspector for the account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account.
|
void |
setResourceStatus(ResourceStatus resourceStatus)
Details of the status of Amazon Inspector scans by resource type.
|
void |
setStatus(String status)
The status of Amazon Inspector for the account.
|
String |
toString()
Returns a string representation of this object.
|
Account |
withAccountId(String accountId)
The ID of the Amazon Web Services account.
|
Account |
withResourceStatus(ResourceStatus resourceStatus)
Details of the status of Amazon Inspector scans by resource type.
|
Account |
withStatus(Status status)
The status of Amazon Inspector for the account.
|
Account |
withStatus(String status)
The status of Amazon Inspector for the account.
|
public void setAccountId(String accountId)
The ID of the Amazon Web Services account.
accountId
- The ID of the Amazon Web Services account.public String getAccountId()
The ID of the Amazon Web Services account.
public Account withAccountId(String accountId)
The ID of the Amazon Web Services account.
accountId
- The ID of the Amazon Web Services account.public void setResourceStatus(ResourceStatus resourceStatus)
Details of the status of Amazon Inspector scans by resource type.
resourceStatus
- Details of the status of Amazon Inspector scans by resource type.public ResourceStatus getResourceStatus()
Details of the status of Amazon Inspector scans by resource type.
public Account withResourceStatus(ResourceStatus resourceStatus)
Details of the status of Amazon Inspector scans by resource type.
resourceStatus
- Details of the status of Amazon Inspector scans by resource type.public void setStatus(String status)
The status of Amazon Inspector for the account.
status
- The status of Amazon Inspector for the account.Status
public String getStatus()
The status of Amazon Inspector for the account.
Status
public Account withStatus(String status)
The status of Amazon Inspector for the account.
status
- The status of Amazon Inspector for the account.Status
public Account withStatus(Status status)
The status of Amazon Inspector for the account.
status
- The status of Amazon Inspector for the account.Status
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.