Interface DeleteResourceRecordSetProtectionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteResourceRecordSetProtectionsRequest.Builder,,DeleteResourceRecordSetProtectionsRequest> Route53Request.Builder,SdkBuilder<DeleteResourceRecordSetProtectionsRequest.Builder,,DeleteResourceRecordSetProtectionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteResourceRecordSetProtectionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneId(String hostedZoneId) The ID of the hosted zone that contains the protections that you want to delete.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protections(Collection<ResourceRecordSetProtectionKey> protections) The name and type of each protection to delete.protections(Consumer<ResourceRecordSetProtectionKey.Builder>... protections) The name and type of each protection to delete.protections(ResourceRecordSetProtectionKey... protections) The name and type of each protection to delete.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
hostedZoneId
The ID of the hosted zone that contains the protections that you want to delete.
- Parameters:
hostedZoneId- The ID of the hosted zone that contains the protections that you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protections
DeleteResourceRecordSetProtectionsRequest.Builder protections(Collection<ResourceRecordSetProtectionKey> protections) The name and type of each protection to delete. The list must contain at least one entry and can contain up to 100 entries. Each name and type can appear only once in the list.
- Parameters:
protections- The name and type of each protection to delete. The list must contain at least one entry and can contain up to 100 entries. Each name and type can appear only once in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protections
DeleteResourceRecordSetProtectionsRequest.Builder protections(ResourceRecordSetProtectionKey... protections) The name and type of each protection to delete. The list must contain at least one entry and can contain up to 100 entries. Each name and type can appear only once in the list.
- Parameters:
protections- The name and type of each protection to delete. The list must contain at least one entry and can contain up to 100 entries. Each name and type can appear only once in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protections
DeleteResourceRecordSetProtectionsRequest.Builder protections(Consumer<ResourceRecordSetProtectionKey.Builder>... protections) The name and type of each protection to delete. The list must contain at least one entry and can contain up to 100 entries. Each name and type can appear only once in the list.
This is a convenience method that creates an instance of theResourceRecordSetProtectionKey.Builderavoiding the need to create one manually viaResourceRecordSetProtectionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotections(List<ResourceRecordSetProtectionKey>).- Parameters:
protections- a consumer that will call methods onResourceRecordSetProtectionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DeleteResourceRecordSetProtectionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteResourceRecordSetProtectionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-