Interface GetAccountSettingsResponse.Builder
-
- All Superinterfaces:
AppConfigResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAccountSettingsResponse.Builder,GetAccountSettingsResponse>,SdkBuilder<GetAccountSettingsResponse.Builder,GetAccountSettingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAccountSettingsResponse
public static interface GetAccountSettingsResponse.Builder extends AppConfigResponse.Builder, SdkPojo, CopyableBuilder<GetAccountSettingsResponse.Builder,GetAccountSettingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAccountSettingsResponse.BuilderdeletionProtection(Consumer<DeletionProtectionSettings.Builder> deletionProtection)A parameter to configure deletion protection.GetAccountSettingsResponse.BuilderdeletionProtection(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 Detail
-
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:
deletionProtection(DeletionProtectionSettings)
-
-