@Generated(value="software.amazon.awssdk:codegen") public final class DeleteContactMethodRequest extends LightsailRequest implements ToCopyableBuilder<DeleteContactMethodRequest.Builder,DeleteContactMethodRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteContactMethodRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteContactMethodRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ContactProtocol |
protocol()
The protocol that will be deleted, such as
Email or SMS (text messaging). |
String |
protocolAsString()
The protocol that will be deleted, such as
Email or SMS (text messaging). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteContactMethodRequest.Builder> |
serializableBuilderClass() |
DeleteContactMethodRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ContactProtocol protocol()
The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run separate
DeleteContactMethod actions to delete each protocol.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ContactProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run
separate DeleteContactMethod actions to delete each protocol.
ContactProtocolpublic final String protocolAsString()
The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run separate
DeleteContactMethod actions to delete each protocol.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ContactProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run
separate DeleteContactMethod actions to delete each protocol.
ContactProtocolpublic DeleteContactMethodRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteContactMethodRequest.Builder,DeleteContactMethodRequest>toBuilder in class LightsailRequestpublic static DeleteContactMethodRequest.Builder builder()
public static Class<? extends DeleteContactMethodRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.