@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountEnrollmentStatus extends Object implements Serializable, Cloneable, StructuredPojo
Describes the enrollment status of an organization's member accounts in Compute Optimizer.
Constructor and Description |
---|
AccountEnrollmentStatus() |
Modifier and Type | Method and Description |
---|---|
AccountEnrollmentStatus |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID.
|
Date |
getLastUpdatedTimestamp()
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
|
String |
getStatus()
The account enrollment status.
|
String |
getStatusReason()
The reason for the account enrollment status.
|
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 |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
|
void |
setStatus(String status)
The account enrollment status.
|
void |
setStatusReason(String statusReason)
The reason for the account enrollment status.
|
String |
toString()
Returns a string representation of this object.
|
AccountEnrollmentStatus |
withAccountId(String accountId)
The Amazon Web Services account ID.
|
AccountEnrollmentStatus |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
|
AccountEnrollmentStatus |
withStatus(Status status)
The account enrollment status.
|
AccountEnrollmentStatus |
withStatus(String status)
The account enrollment status.
|
AccountEnrollmentStatus |
withStatusReason(String statusReason)
The reason for the account enrollment status.
|
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 AccountEnrollmentStatus withAccountId(String accountId)
The Amazon Web Services account ID.
accountId
- The Amazon Web Services account ID.public void setStatus(String status)
The account enrollment status.
status
- The account enrollment status.Status
public String getStatus()
The account enrollment status.
Status
public AccountEnrollmentStatus withStatus(String status)
The account enrollment status.
status
- The account enrollment status.Status
public AccountEnrollmentStatus withStatus(Status status)
The account enrollment status.
status
- The account enrollment status.Status
public void setStatusReason(String statusReason)
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization
require more time to be enrolled in the service.
statusReason
- The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an
organization require more time to be enrolled in the service.
public String getStatusReason()
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization
require more time to be enrolled in the service.
For example, an account might show a status of Pending
because member accounts of an
organization require more time to be enrolled in the service.
public AccountEnrollmentStatus withStatusReason(String statusReason)
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization
require more time to be enrolled in the service.
statusReason
- The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an
organization require more time to be enrolled in the service.
public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
lastUpdatedTimestamp
- The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.public Date getLastUpdatedTimestamp()
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
public AccountEnrollmentStatus withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
lastUpdatedTimestamp
- The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.public String toString()
toString
in class Object
Object.toString()
public AccountEnrollmentStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.