Class GetEnrollmentStatusResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerResponse
-
- software.amazon.awssdk.services.computeoptimizer.model.GetEnrollmentStatusResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetEnrollmentStatusResponse.Builder,GetEnrollmentStatusResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetEnrollmentStatusResponse extends ComputeOptimizerResponse implements ToCopyableBuilder<GetEnrollmentStatusResponse.Builder,GetEnrollmentStatusResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetEnrollmentStatusResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetEnrollmentStatusResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTimestamp()The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.BooleanmemberAccountsEnrolled()Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.IntegernumberOfMemberAccountsOptedIn()The count of organization member accounts that are opted in to the service, if your account is an organization management account.List<SdkField<?>>sdkFields()static Class<? extends GetEnrollmentStatusResponse.Builder>serializableBuilderClass()Statusstatus()The enrollment status of the account.StringstatusAsString()The enrollment status of the account.StringstatusReason()The reason for the enrollment status of the account.GetEnrollmentStatusResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public final Status status()
The enrollment status of the account.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The enrollment status of the account.
- See Also:
Status
-
statusAsString
public final String statusAsString()
The enrollment status of the account.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The enrollment status of the account.
- See Also:
Status
-
statusReason
public final String statusReason()
The reason for the enrollment status of the account.
For example, an account might show a status of
Pendingbecause member accounts of an organization require more time to be enrolled in the service.- Returns:
- The reason for the enrollment status of the account.
For example, an account might show a status of
Pendingbecause member accounts of an organization require more time to be enrolled in the service.
-
memberAccountsEnrolled
public final Boolean memberAccountsEnrolled()
Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.
- Returns:
- Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
- Returns:
- The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
-
numberOfMemberAccountsOptedIn
public final Integer numberOfMemberAccountsOptedIn()
The count of organization member accounts that are opted in to the service, if your account is an organization management account.
- Returns:
- The count of organization member accounts that are opted in to the service, if your account is an organization management account.
-
toBuilder
public GetEnrollmentStatusResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetEnrollmentStatusResponse.Builder,GetEnrollmentStatusResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetEnrollmentStatusResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetEnrollmentStatusResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-