Class DeleteEnvironmentRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appconfig.model.AppConfigRequest
-
- software.amazon.awssdk.services.appconfig.model.DeleteEnvironmentRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteEnvironmentRequest.Builder,DeleteEnvironmentRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteEnvironmentRequest extends AppConfigRequest implements ToCopyableBuilder<DeleteEnvironmentRequest.Builder,DeleteEnvironmentRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteEnvironmentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The application ID that includes the environment that you want to delete.static DeleteEnvironmentRequest.Builderbuilder()DeletionProtectionCheckdeletionProtectionCheck()A parameter to configure deletion protection.StringdeletionProtectionCheckAsString()A parameter to configure deletion protection.StringenvironmentId()The ID of the environment that you want to delete.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeleteEnvironmentRequest.Builder>serializableBuilderClass()DeleteEnvironmentRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
environmentId
public final String environmentId()
The ID of the environment that you want to delete.
- Returns:
- The ID of the environment that you want to delete.
-
applicationId
public final String applicationId()
The application ID that includes the environment that you want to delete.
- Returns:
- The application ID that includes the environment that you want to delete.
-
deletionProtectionCheck
public final DeletionProtectionCheck deletionProtectionCheck()
A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
If the service returns an enum value that is not available in the current SDK version,
deletionProtectionCheckwill returnDeletionProtectionCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletionProtectionCheckAsString().- Returns:
- A parameter to configure deletion protection. If enabled, deletion protection prevents a user from
deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
-
- See Also:
DeletionProtectionCheck
-
-
deletionProtectionCheckAsString
public final String deletionProtectionCheckAsString()
A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
If the service returns an enum value that is not available in the current SDK version,
deletionProtectionCheckwill returnDeletionProtectionCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletionProtectionCheckAsString().- Returns:
- A parameter to configure deletion protection. If enabled, deletion protection prevents a user from
deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
-
- See Also:
DeletionProtectionCheck
-
-
toBuilder
public DeleteEnvironmentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteEnvironmentRequest.Builder,DeleteEnvironmentRequest>- Specified by:
toBuilderin classAppConfigRequest
-
builder
public static DeleteEnvironmentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteEnvironmentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-