@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEnrollmentStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateEnrollmentStatusResult() |
Modifier and Type | Method and Description |
---|---|
UpdateEnrollmentStatusResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The enrollment status of the account.
|
String |
getStatusReason()
The reason for the enrollment status of the account.
|
int |
hashCode() |
void |
setStatus(String status)
The enrollment status of the account.
|
void |
setStatusReason(String statusReason)
The reason for the enrollment status of the account.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEnrollmentStatusResult |
withStatus(Status status)
The enrollment status of the account.
|
UpdateEnrollmentStatusResult |
withStatus(String status)
The enrollment status of the account.
|
UpdateEnrollmentStatusResult |
withStatusReason(String statusReason)
The reason for the enrollment status of the account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatus(String status)
The enrollment status of the account.
status
- The enrollment status of the account.Status
public String getStatus()
The enrollment status of the account.
Status
public UpdateEnrollmentStatusResult withStatus(String status)
The enrollment status of the account.
status
- The enrollment status of the account.Status
public UpdateEnrollmentStatusResult withStatus(Status status)
The enrollment status of the account.
status
- The enrollment status of the account.Status
public void setStatusReason(String statusReason)
The reason for the enrollment status of the account. 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 enrollment status of the account. 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 enrollment status of the account. 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.
Pending
because member accounts of an organization require more time to be enrolled in the
service.public UpdateEnrollmentStatusResult withStatusReason(String statusReason)
The reason for the enrollment status of the account. 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 enrollment status of the account. 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 toString()
toString
in class Object
Object.toString()
public UpdateEnrollmentStatusResult clone()