@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 Cost Optimization Hub.
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 |
getCreatedTimestamp()
The time when the account enrollment status was created.
|
Date |
getLastUpdatedTimestamp()
The time when the account enrollment status was last updated.
|
String |
getStatus()
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 |
setCreatedTimestamp(Date createdTimestamp)
The time when the account enrollment status was created.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time when the account enrollment status was last updated.
|
void |
setStatus(String status)
The account enrollment status.
|
String |
toString()
Returns a string representation of this object.
|
AccountEnrollmentStatus |
withAccountId(String accountId)
The Amazon Web Services account ID.
|
AccountEnrollmentStatus |
withCreatedTimestamp(Date createdTimestamp)
The time when the account enrollment status was created.
|
AccountEnrollmentStatus |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time when the account enrollment status was last updated.
|
AccountEnrollmentStatus |
withStatus(EnrollmentStatus status)
The account enrollment status.
|
AccountEnrollmentStatus |
withStatus(String status)
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.EnrollmentStatus
public String getStatus()
The account enrollment status.
EnrollmentStatus
public AccountEnrollmentStatus withStatus(String status)
The account enrollment status.
status
- The account enrollment status.EnrollmentStatus
public AccountEnrollmentStatus withStatus(EnrollmentStatus status)
The account enrollment status.
status
- The account enrollment status.EnrollmentStatus
public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time when the account enrollment status was last updated.
lastUpdatedTimestamp
- The time when the account enrollment status was last updated.public Date getLastUpdatedTimestamp()
The time when the account enrollment status was last updated.
public AccountEnrollmentStatus withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time when the account enrollment status was last updated.
lastUpdatedTimestamp
- The time when the account enrollment status was last updated.public void setCreatedTimestamp(Date createdTimestamp)
The time when the account enrollment status was created.
createdTimestamp
- The time when the account enrollment status was created.public Date getCreatedTimestamp()
The time when the account enrollment status was created.
public AccountEnrollmentStatus withCreatedTimestamp(Date createdTimestamp)
The time when the account enrollment status was created.
createdTimestamp
- The time when the account enrollment status was created.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.