Interface UpdateAccountSettingsRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAccountSettingsRequest.Builder,
,UpdateAccountSettingsRequest> SdkBuilder<UpdateAccountSettingsRequest.Builder,
,UpdateAccountSettingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAccountSettingsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtection
(Consumer<DeletionProtectionSettings.Builder> deletionProtection) A parameter to configure deletion protection.deletionProtection
(DeletionProtectionSettings deletionProtection) A parameter to configure deletion protection.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, sdkFieldNameToField, sdkFields
-
Method Details
-
deletionProtection
UpdateAccountSettingsRequest.Builder deletionProtection(DeletionProtectionSettings deletionProtection) A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile or an environment if AppConfig has called either GetLatestConfiguration or for the configuration profile or from the environment during the specified interval. The default interval for
ProtectionPeriodInMinutes
is 60.- Parameters:
deletionProtection
- A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile or an environment if AppConfig has called either GetLatestConfiguration or for the configuration profile or from the environment during the specified interval. The default interval forProtectionPeriodInMinutes
is 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
default UpdateAccountSettingsRequest.Builder deletionProtection(Consumer<DeletionProtectionSettings.Builder> deletionProtection) A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile or an environment if AppConfig has called either GetLatestConfiguration or for the configuration profile or from the environment during the specified interval. The default interval for
This is a convenience method that creates an instance of theProtectionPeriodInMinutes
is 60.DeletionProtectionSettings.Builder
avoiding the need to create one manually viaDeletionProtectionSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeletionProtection(DeletionProtectionSettings)
.- Parameters:
deletionProtection
- a consumer that will call methods onDeletionProtectionSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAccountSettingsRequest.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
UpdateAccountSettingsRequest.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.
-