Interface GetAccountSettingsResponse.Builder
- All Superinterfaces:
AppConfigResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAccountSettingsResponse.Builder,,GetAccountSettingsResponse> SdkBuilder<GetAccountSettingsResponse.Builder,,GetAccountSettingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAccountSettingsResponse
-
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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deletionProtection
GetAccountSettingsResponse.Builder deletionProtection(DeletionProtectionSettings deletionProtection) A parameter to configure deletion protection. If enabled, 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. Deletion protection is disabled by default. The default interval for
ProtectionPeriodInMinutesis 60.- Parameters:
deletionProtection- A parameter to configure deletion protection. If enabled, 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. Deletion protection is disabled by default. The default interval forProtectionPeriodInMinutesis 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
default GetAccountSettingsResponse.Builder deletionProtection(Consumer<DeletionProtectionSettings.Builder> deletionProtection) A parameter to configure deletion protection. If enabled, 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. Deletion protection is disabled by default. 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:
-