@Generated(value="software.amazon.awssdk:codegen") public final class RegisterAppInstanceUserEndpointRequest extends ChimeSdkIdentityRequest implements ToCopyableBuilder<RegisterAppInstanceUserEndpointRequest.Builder,RegisterAppInstanceUserEndpointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterAppInstanceUserEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AllowMessages |
allowMessages()
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
|
String |
allowMessagesAsString()
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
|
String |
appInstanceUserArn()
The ARN of the
AppInstanceUser. |
static RegisterAppInstanceUserEndpointRequest.Builder |
builder() |
String |
clientRequestToken()
The idempotency token for each client request.
|
EndpointAttributes |
endpointAttributes()
The attributes of an
Endpoint. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the
AppInstanceUserEndpoint. |
String |
resourceArn()
The ARN of the resource to which the endpoint belongs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterAppInstanceUserEndpointRequest.Builder> |
serializableBuilderClass() |
RegisterAppInstanceUserEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AppInstanceUserEndpointType |
type()
The type of the
AppInstanceUserEndpoint. |
String |
typeAsString()
The type of the
AppInstanceUserEndpoint. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String appInstanceUserArn()
The ARN of the AppInstanceUser.
AppInstanceUser.public final String name()
The name of the AppInstanceUserEndpoint.
AppInstanceUserEndpoint.public final AppInstanceUserEndpointType type()
The type of the AppInstanceUserEndpoint. Supported types:
APNS: The mobile notification service for an Apple device.
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.
GCM: The mobile notification service for an Android device.
Populate the ResourceArn value of each type as PinpointAppArn.
If the service returns an enum value that is not available in the current SDK version, type will return
AppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
AppInstanceUserEndpoint. Supported types:
APNS: The mobile notification service for an Apple device.
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple
device.
GCM: The mobile notification service for an Android device.
Populate the ResourceArn value of each type as PinpointAppArn.
AppInstanceUserEndpointTypepublic final String typeAsString()
The type of the AppInstanceUserEndpoint. Supported types:
APNS: The mobile notification service for an Apple device.
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.
GCM: The mobile notification service for an Android device.
Populate the ResourceArn value of each type as PinpointAppArn.
If the service returns an enum value that is not available in the current SDK version, type will return
AppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
AppInstanceUserEndpoint. Supported types:
APNS: The mobile notification service for an Apple device.
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple
device.
GCM: The mobile notification service for an Android device.
Populate the ResourceArn value of each type as PinpointAppArn.
AppInstanceUserEndpointTypepublic final String resourceArn()
The ARN of the resource to which the endpoint belongs.
public final EndpointAttributes endpointAttributes()
The attributes of an Endpoint.
Endpoint.public final String clientRequestToken()
The idempotency token for each client request.
public final AllowMessages allowMessages()
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL
indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.
If the service returns an enum value that is not available in the current SDK version, allowMessages
will return AllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
allowMessagesAsString().
ALL indicates the endpoint receives all messages. NONE indicates the endpoint
receives no messages.AllowMessagespublic final String allowMessagesAsString()
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL
indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.
If the service returns an enum value that is not available in the current SDK version, allowMessages
will return AllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
allowMessagesAsString().
ALL indicates the endpoint receives all messages. NONE indicates the endpoint
receives no messages.AllowMessagespublic RegisterAppInstanceUserEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegisterAppInstanceUserEndpointRequest.Builder,RegisterAppInstanceUserEndpointRequest>toBuilder in class ChimeSdkIdentityRequestpublic static RegisterAppInstanceUserEndpointRequest.Builder builder()
public static Class<? extends RegisterAppInstanceUserEndpointRequest.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.