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, responseMetadata
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
Methods 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. 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 GetAccountSettingsResponse.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:
-