@Generated(value="software.amazon.awssdk:codegen") public final class CreateNotificationSubscriptionRequest extends WorkDocsRequest implements ToCopyableBuilder<CreateNotificationSubscriptionRequest.Builder,CreateNotificationSubscriptionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateNotificationSubscriptionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateNotificationSubscriptionRequest.Builder |
builder() |
String |
endpoint()
The endpoint to receive the notifications.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
organizationId()
The ID of the organization.
|
SubscriptionProtocolType |
protocol()
The protocol to use.
|
String |
protocolAsString()
The protocol to use.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateNotificationSubscriptionRequest.Builder> |
serializableBuilderClass() |
SubscriptionType |
subscriptionType()
The notification type.
|
String |
subscriptionTypeAsString()
The notification type.
|
CreateNotificationSubscriptionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String organizationId()
The ID of the organization.
public final String endpoint()
The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with
https.
https.public final SubscriptionProtocolType protocol()
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
If the service returns an enum value that is not available in the current SDK version, protocol will
return SubscriptionProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolAsString().
SubscriptionProtocolTypepublic final String protocolAsString()
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
If the service returns an enum value that is not available in the current SDK version, protocol will
return SubscriptionProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolAsString().
SubscriptionProtocolTypepublic final SubscriptionType subscriptionType()
The notification type.
If the service returns an enum value that is not available in the current SDK version, subscriptionType
will return SubscriptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from subscriptionTypeAsString().
SubscriptionTypepublic final String subscriptionTypeAsString()
The notification type.
If the service returns an enum value that is not available in the current SDK version, subscriptionType
will return SubscriptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from subscriptionTypeAsString().
SubscriptionTypepublic CreateNotificationSubscriptionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateNotificationSubscriptionRequest.Builder,CreateNotificationSubscriptionRequest>toBuilder in class WorkDocsRequestpublic static CreateNotificationSubscriptionRequest.Builder builder()
public static Class<? extends CreateNotificationSubscriptionRequest.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.