Interface DeleteEnvironmentRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteEnvironmentRequest.Builder,
,DeleteEnvironmentRequest> SdkBuilder<DeleteEnvironmentRequest.Builder,
,DeleteEnvironmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteEnvironmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The application ID that includes the environment that you want to delete.deletionProtectionCheck
(String deletionProtectionCheck) A parameter to configure deletion protection.deletionProtectionCheck
(DeletionProtectionCheck deletionProtectionCheck) A parameter to configure deletion protection.environmentId
(String environmentId) The ID of the environment that you want to delete.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
environmentId
The ID of the environment that you want to delete.
- Parameters:
environmentId
- The ID of the environment that you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationId
The application ID that includes the environment that you want to delete.
- Parameters:
applicationId
- The application ID that includes the environment that you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.APPLY
also 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 theUpdateAccountSettings
API.
- Parameters:
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.APPLY
also 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 theUpdateAccountSettings
API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deletionProtectionCheck
DeleteEnvironmentRequest.Builder deletionProtectionCheck(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.APPLY
also 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 theUpdateAccountSettings
API.
- Parameters:
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.APPLY
also 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 theUpdateAccountSettings
API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
DeleteEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-