Interface DeleteContactMethodRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteContactMethodRequest.Builder,
,DeleteContactMethodRequest> LightsailRequest.Builder
,SdkBuilder<DeleteContactMethodRequest.Builder,
,DeleteContactMethodRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteContactMethodRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The protocol that will be deleted, such asEmail
orSMS
(text messaging).protocol
(ContactProtocol protocol) The protocol that will be deleted, such asEmail
orSMS
(text messaging).Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
protocol
The protocol that will be deleted, such as
Email
orSMS
(text messaging).To delete an
Email
and anSMS
contact method if you added both, you must run separateDeleteContactMethod
actions to delete each protocol.- Parameters:
protocol
- The protocol that will be deleted, such asEmail
orSMS
(text messaging).To delete an
Email
and anSMS
contact method if you added both, you must run separateDeleteContactMethod
actions to delete each protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol that will be deleted, such as
Email
orSMS
(text messaging).To delete an
Email
and anSMS
contact method if you added both, you must run separateDeleteContactMethod
actions to delete each protocol.- Parameters:
protocol
- The protocol that will be deleted, such asEmail
orSMS
(text messaging).To delete an
Email
and anSMS
contact method if you added both, you must run separateDeleteContactMethod
actions to delete each protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DeleteContactMethodRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteContactMethodRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-