@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterAppInstanceUserEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterAppInstanceUserEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterAppInstanceUserEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAllowMessages()
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
|
String |
getAppInstanceUserArn()
The ARN of the
AppInstanceUser . |
String |
getClientRequestToken()
The unique ID assigned to the request.
|
EndpointAttributes |
getEndpointAttributes()
The attributes of an
Endpoint . |
String |
getName()
The name of the
AppInstanceUserEndpoint . |
String |
getResourceArn()
The ARN of the resource to which the endpoint belongs.
|
String |
getType()
The type of the
AppInstanceUserEndpoint . |
int |
hashCode() |
void |
setAllowMessages(String allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
|
void |
setAppInstanceUserArn(String appInstanceUserArn)
The ARN of the
AppInstanceUser . |
void |
setClientRequestToken(String clientRequestToken)
The unique ID assigned to the request.
|
void |
setEndpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an
Endpoint . |
void |
setName(String name)
The name of the
AppInstanceUserEndpoint . |
void |
setResourceArn(String resourceArn)
The ARN of the resource to which the endpoint belongs.
|
void |
setType(String type)
The type of the
AppInstanceUserEndpoint . |
String |
toString()
Returns a string representation of this object.
|
RegisterAppInstanceUserEndpointRequest |
withAllowMessages(AllowMessages allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
|
RegisterAppInstanceUserEndpointRequest |
withAllowMessages(String allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
|
RegisterAppInstanceUserEndpointRequest |
withAppInstanceUserArn(String appInstanceUserArn)
The ARN of the
AppInstanceUser . |
RegisterAppInstanceUserEndpointRequest |
withClientRequestToken(String clientRequestToken)
The unique ID assigned to the request.
|
RegisterAppInstanceUserEndpointRequest |
withEndpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an
Endpoint . |
RegisterAppInstanceUserEndpointRequest |
withName(String name)
The name of the
AppInstanceUserEndpoint . |
RegisterAppInstanceUserEndpointRequest |
withResourceArn(String resourceArn)
The ARN of the resource to which the endpoint belongs.
|
RegisterAppInstanceUserEndpointRequest |
withType(AppInstanceUserEndpointType type)
The type of the
AppInstanceUserEndpoint . |
RegisterAppInstanceUserEndpointRequest |
withType(String type)
The type of the
AppInstanceUserEndpoint . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RegisterAppInstanceUserEndpointRequest()
public void setAppInstanceUserArn(String appInstanceUserArn)
The ARN of the AppInstanceUser
.
appInstanceUserArn
- The ARN of the AppInstanceUser
.public String getAppInstanceUserArn()
The ARN of the AppInstanceUser
.
AppInstanceUser
.public RegisterAppInstanceUserEndpointRequest withAppInstanceUserArn(String appInstanceUserArn)
The ARN of the AppInstanceUser
.
appInstanceUserArn
- The ARN of the AppInstanceUser
.public void setName(String name)
The name of the AppInstanceUserEndpoint
.
name
- The name of the AppInstanceUserEndpoint
.public String getName()
The name of the AppInstanceUserEndpoint
.
AppInstanceUserEndpoint
.public RegisterAppInstanceUserEndpointRequest withName(String name)
The name of the AppInstanceUserEndpoint
.
name
- The name of the AppInstanceUserEndpoint
.public void setType(String 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
.
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
.
AppInstanceUserEndpointType
public String getType()
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
.
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
.
AppInstanceUserEndpointType
public RegisterAppInstanceUserEndpointRequest withType(String 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
.
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
.
AppInstanceUserEndpointType
public RegisterAppInstanceUserEndpointRequest withType(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
.
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
.
AppInstanceUserEndpointType
public void setResourceArn(String resourceArn)
The ARN of the resource to which the endpoint belongs.
resourceArn
- The ARN of the resource to which the endpoint belongs.public String getResourceArn()
The ARN of the resource to which the endpoint belongs.
public RegisterAppInstanceUserEndpointRequest withResourceArn(String resourceArn)
The ARN of the resource to which the endpoint belongs.
resourceArn
- The ARN of the resource to which the endpoint belongs.public void setEndpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an Endpoint
.
endpointAttributes
- The attributes of an Endpoint
.public EndpointAttributes getEndpointAttributes()
The attributes of an Endpoint
.
Endpoint
.public RegisterAppInstanceUserEndpointRequest withEndpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an Endpoint
.
endpointAttributes
- The attributes of an Endpoint
.public void setClientRequestToken(String clientRequestToken)
The unique ID assigned to the request. Use different tokens to register other endpoints.
clientRequestToken
- The unique ID assigned to the request. Use different tokens to register other endpoints.public String getClientRequestToken()
The unique ID assigned to the request. Use different tokens to register other endpoints.
public RegisterAppInstanceUserEndpointRequest withClientRequestToken(String clientRequestToken)
The unique ID assigned to the request. Use different tokens to register other endpoints.
clientRequestToken
- The unique ID assigned to the request. Use different tokens to register other endpoints.public void setAllowMessages(String 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.
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.AllowMessages
public String getAllowMessages()
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.
ALL
indicates the endpoint receives all messages. NONE
indicates the endpoint
receives no messages.AllowMessages
public RegisterAppInstanceUserEndpointRequest withAllowMessages(String 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.
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.AllowMessages
public RegisterAppInstanceUserEndpointRequest withAllowMessages(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.
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.AllowMessages
public String toString()
toString
in class Object
Object.toString()
public RegisterAppInstanceUserEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()