@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountState extends Object implements Serializable, Cloneable, StructuredPojo
An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.
Constructor and Description |
---|
AccountState() |
Modifier and Type | Method and Description |
---|---|
AccountState |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID.
|
ResourceState |
getResourceState()
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
State |
getState()
An object detailing 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 Amazon Web Services account ID.
|
void |
setResourceState(ResourceState resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
void |
setState(State state)
An object detailing the status of Amazon Inspector for the account.
|
String |
toString()
Returns a string representation of this object.
|
AccountState |
withAccountId(String accountId)
The Amazon Web Services account ID.
|
AccountState |
withResourceState(ResourceState resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
|
AccountState |
withState(State state)
An object detailing the status of Amazon Inspector for the account.
|
public void setAccountId(String accountId)
The Amazon Web Services account ID.
accountId
- The Amazon Web Services account ID.public String getAccountId()
The Amazon Web Services account ID.
public AccountState withAccountId(String accountId)
The Amazon Web Services account ID.
accountId
- The Amazon Web Services account ID.public void setResourceState(ResourceState resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
resourceState
- An object detailing which resources Amazon Inspector is enabled to scan for the account.public ResourceState getResourceState()
An object detailing which resources Amazon Inspector is enabled to scan for the account.
public AccountState withResourceState(ResourceState resourceState)
An object detailing which resources Amazon Inspector is enabled to scan for the account.
resourceState
- An object detailing which resources Amazon Inspector is enabled to scan for the account.public void setState(State state)
An object detailing the status of Amazon Inspector for the account.
state
- An object detailing the status of Amazon Inspector for the account.public State getState()
An object detailing the status of Amazon Inspector for the account.
public AccountState withState(State state)
An object detailing the status of Amazon Inspector for the account.
state
- An object detailing the status of Amazon Inspector for the account.public String toString()
toString
in class Object
Object.toString()
public AccountState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.