Interface UpdateAccountSettingsResponse.Builder
- All Superinterfaces:
AppConfigResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAccountSettingsResponse.Builder,,UpdateAccountSettingsResponse> SdkBuilder<UpdateAccountSettingsResponse.Builder,,UpdateAccountSettingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAccountSettingsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtection(Consumer<DeletionProtectionSettings.Builder> deletionProtection) A parameter to configure deletion protection.deletionProtection(DeletionProtectionSettings deletionProtection) A parameter to configure deletion protection.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deletionProtection
UpdateAccountSettingsResponse.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
ProtectionPeriodInMinutesis 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 forProtectionPeriodInMinutesis 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
default UpdateAccountSettingsResponse.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 theProtectionPeriodInMinutesis 60.DeletionProtectionSettings.Builderavoiding the need to create one manually viaDeletionProtectionSettings.builder().When the
Consumercompletes,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:
-