@Generated(value="software.amazon.awssdk:codegen") public final class UpdateEnrollmentStatusRequest extends ComputeOptimizerRequest implements ToCopyableBuilder<UpdateEnrollmentStatusRequest.Builder,UpdateEnrollmentStatusRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateEnrollmentStatusRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateEnrollmentStatusRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
includeMemberAccounts()
Indicates whether to enroll member accounts of the organization if the account is the management account of an
organization.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateEnrollmentStatusRequest.Builder> |
serializableBuilderClass() |
Status |
status()
The new enrollment status of the account.
|
String |
statusAsString()
The new enrollment status of the account.
|
UpdateEnrollmentStatusRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Status status()
The new enrollment status of the account.
The following status options are available:
Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins analyzing
the configuration and utilization metrics of your Amazon Web Services resources after you opt in. For more
information, see Metrics analyzed
by Compute Optimizer in the Compute Optimizer User Guide.
Inactive - Opts out your account from the Compute Optimizer service. Your account's recommendations
and related metrics data will be deleted from Compute Optimizer after you opt out.
The Pending and Failed options cannot be used to update the enrollment status of an
account. They are returned in the response of a request to update the enrollment status of an account.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
The following status options are available:
Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins
analyzing the configuration and utilization metrics of your Amazon Web Services resources after you opt
in. For more information, see Metrics analyzed by Compute
Optimizer in the Compute Optimizer User Guide.
Inactive - Opts out your account from the Compute Optimizer service. Your account's
recommendations and related metrics data will be deleted from Compute Optimizer after you opt out.
The Pending and Failed options cannot be used to update the enrollment status
of an account. They are returned in the response of a request to update the enrollment status of an
account.
Statuspublic final String statusAsString()
The new enrollment status of the account.
The following status options are available:
Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins analyzing
the configuration and utilization metrics of your Amazon Web Services resources after you opt in. For more
information, see Metrics analyzed
by Compute Optimizer in the Compute Optimizer User Guide.
Inactive - Opts out your account from the Compute Optimizer service. Your account's recommendations
and related metrics data will be deleted from Compute Optimizer after you opt out.
The Pending and Failed options cannot be used to update the enrollment status of an
account. They are returned in the response of a request to update the enrollment status of an account.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
The following status options are available:
Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins
analyzing the configuration and utilization metrics of your Amazon Web Services resources after you opt
in. For more information, see Metrics analyzed by Compute
Optimizer in the Compute Optimizer User Guide.
Inactive - Opts out your account from the Compute Optimizer service. Your account's
recommendations and related metrics data will be deleted from Compute Optimizer after you opt out.
The Pending and Failed options cannot be used to update the enrollment status
of an account. They are returned in the response of a request to update the enrollment status of an
account.
Statuspublic final Boolean includeMemberAccounts()
Indicates whether to enroll member accounts of the organization if the account is the management account of an organization.
public UpdateEnrollmentStatusRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateEnrollmentStatusRequest.Builder,UpdateEnrollmentStatusRequest>toBuilder in class ComputeOptimizerRequestpublic static UpdateEnrollmentStatusRequest.Builder builder()
public static Class<? extends UpdateEnrollmentStatusRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.