@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppInstanceUserEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
An endpoint under an Amazon Chime AppInstanceUser
that receives messages for a user. For push
notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.
Constructor and Description |
---|
AppInstanceUserEndpoint() |
Modifier and Type | Method and Description |
---|---|
AppInstanceUserEndpoint |
clone() |
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 . |
Date |
getCreatedTimestamp()
The time at which an
AppInstanceUserEndpoint was created. |
EndpointAttributes |
getEndpointAttributes()
The attributes of an
Endpoint . |
String |
getEndpointId()
The unique identifier of the
AppInstanceUserEndpoint . |
EndpointState |
getEndpointState()
A read-only field that represents the state of an
AppInstanceUserEndpoint . |
Date |
getLastUpdatedTimestamp()
The time at which an
AppInstanceUserEndpoint was last updated. |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setCreatedTimestamp(Date createdTimestamp)
The time at which an
AppInstanceUserEndpoint was created. |
void |
setEndpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an
Endpoint . |
void |
setEndpointId(String endpointId)
The unique identifier of the
AppInstanceUserEndpoint . |
void |
setEndpointState(EndpointState endpointState)
A read-only field that represents the state of an
AppInstanceUserEndpoint . |
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which an
AppInstanceUserEndpoint was last updated. |
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.
|
AppInstanceUserEndpoint |
withAllowMessages(AllowMessages allowMessages)
Boolean that controls whether the
AppInstanceUserEndpoint is opted in to receive messages. |
AppInstanceUserEndpoint |
withAllowMessages(String allowMessages)
Boolean that controls whether the
AppInstanceUserEndpoint is opted in to receive messages. |
AppInstanceUserEndpoint |
withAppInstanceUserArn(String appInstanceUserArn)
The ARN of the
AppInstanceUser . |
AppInstanceUserEndpoint |
withCreatedTimestamp(Date createdTimestamp)
The time at which an
AppInstanceUserEndpoint was created. |
AppInstanceUserEndpoint |
withEndpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an
Endpoint . |
AppInstanceUserEndpoint |
withEndpointId(String endpointId)
The unique identifier of the
AppInstanceUserEndpoint . |
AppInstanceUserEndpoint |
withEndpointState(EndpointState endpointState)
A read-only field that represents the state of an
AppInstanceUserEndpoint . |
AppInstanceUserEndpoint |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which an
AppInstanceUserEndpoint was last updated. |
AppInstanceUserEndpoint |
withName(String name)
The name of the
AppInstanceUserEndpoint . |
AppInstanceUserEndpoint |
withResourceArn(String resourceArn)
The ARN of the resource to which the endpoint belongs.
|
AppInstanceUserEndpoint |
withType(AppInstanceUserEndpointType type)
The type of the
AppInstanceUserEndpoint . |
AppInstanceUserEndpoint |
withType(String type)
The type of the
AppInstanceUserEndpoint . |
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 AppInstanceUserEndpoint withAppInstanceUserArn(String appInstanceUserArn)
The ARN of the AppInstanceUser
.
appInstanceUserArn
- The ARN of the AppInstanceUser
.public void setEndpointId(String endpointId)
The unique identifier of the AppInstanceUserEndpoint
.
endpointId
- The unique identifier of the AppInstanceUserEndpoint
.public String getEndpointId()
The unique identifier of the AppInstanceUserEndpoint
.
AppInstanceUserEndpoint
.public AppInstanceUserEndpoint withEndpointId(String endpointId)
The unique identifier of the AppInstanceUserEndpoint
.
endpointId
- The unique identifier of the AppInstanceUserEndpoint
.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 AppInstanceUserEndpoint withName(String name)
The name of the AppInstanceUserEndpoint
.
name
- The name of the AppInstanceUserEndpoint
.public void setType(String type)
The type of the AppInstanceUserEndpoint
.
type
- The type of the AppInstanceUserEndpoint
.AppInstanceUserEndpointType
public String getType()
The type of the AppInstanceUserEndpoint
.
AppInstanceUserEndpoint
.AppInstanceUserEndpointType
public AppInstanceUserEndpoint withType(String type)
The type of the AppInstanceUserEndpoint
.
type
- The type of the AppInstanceUserEndpoint
.AppInstanceUserEndpointType
public AppInstanceUserEndpoint withType(AppInstanceUserEndpointType type)
The type of the AppInstanceUserEndpoint
.
type
- The type of the AppInstanceUserEndpoint
.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 AppInstanceUserEndpoint 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 AppInstanceUserEndpoint withEndpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an Endpoint
.
endpointAttributes
- The attributes of an Endpoint
.public void setCreatedTimestamp(Date createdTimestamp)
The time at which an AppInstanceUserEndpoint
was created.
createdTimestamp
- The time at which an AppInstanceUserEndpoint
was created.public Date getCreatedTimestamp()
The time at which an AppInstanceUserEndpoint
was created.
AppInstanceUserEndpoint
was created.public AppInstanceUserEndpoint withCreatedTimestamp(Date createdTimestamp)
The time at which an AppInstanceUserEndpoint
was created.
createdTimestamp
- The time at which an AppInstanceUserEndpoint
was created.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which an AppInstanceUserEndpoint
was last updated.
lastUpdatedTimestamp
- The time at which an AppInstanceUserEndpoint
was last updated.public Date getLastUpdatedTimestamp()
The time at which an AppInstanceUserEndpoint
was last updated.
AppInstanceUserEndpoint
was last updated.public AppInstanceUserEndpoint withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which an AppInstanceUserEndpoint
was last updated.
lastUpdatedTimestamp
- The time at which an AppInstanceUserEndpoint
was last updated.public void setAllowMessages(String allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the endpoint will
receive no messages.
allowMessages
- Boolean that controls whether the AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the
endpoint will receive no messages.AllowMessages
public String getAllowMessages()
Boolean that controls whether the AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the endpoint will
receive no messages.
AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the
endpoint will receive no messages.AllowMessages
public AppInstanceUserEndpoint withAllowMessages(String allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the endpoint will
receive no messages.
allowMessages
- Boolean that controls whether the AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the
endpoint will receive no messages.AllowMessages
public AppInstanceUserEndpoint withAllowMessages(AllowMessages allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the endpoint will
receive no messages.
allowMessages
- Boolean that controls whether the AppInstanceUserEndpoint
is opted in to receive messages.
ALL
indicates the endpoint will receive all messages. NONE
indicates the
endpoint will receive no messages.AllowMessages
public void setEndpointState(EndpointState endpointState)
A read-only field that represents the state of an AppInstanceUserEndpoint
. Supported values:
ACTIVE
: The AppInstanceUserEndpoint
is active and able to receive messages. When
ACTIVE
, the EndpointStatusReason
remains empty.
INACTIVE
: The AppInstanceUserEndpoint
is inactive and can't receive message. When
INACTIVE
, the corresponding reason will be conveyed through EndpointStatusReason
.
INVALID_DEVICE_TOKEN
indicates that an AppInstanceUserEndpoint
is INACTIVE
due to invalid device token
INVALID_PINPOINT_ARN
indicates that an AppInstanceUserEndpoint
is INACTIVE
due to an invalid pinpoint ARN that was input through the ResourceArn
field.
endpointState
- A read-only field that represents the state of an AppInstanceUserEndpoint
. Supported
values:
ACTIVE
: The AppInstanceUserEndpoint
is active and able to receive messages. When
ACTIVE
, the EndpointStatusReason
remains empty.
INACTIVE
: The AppInstanceUserEndpoint
is inactive and can't receive message.
When INACTIVE
, the corresponding reason will be conveyed through
EndpointStatusReason
.
INVALID_DEVICE_TOKEN
indicates that an AppInstanceUserEndpoint
is
INACTIVE
due to invalid device token
INVALID_PINPOINT_ARN
indicates that an AppInstanceUserEndpoint
is
INACTIVE
due to an invalid pinpoint ARN that was input through the ResourceArn
field.
public EndpointState getEndpointState()
A read-only field that represents the state of an AppInstanceUserEndpoint
. Supported values:
ACTIVE
: The AppInstanceUserEndpoint
is active and able to receive messages. When
ACTIVE
, the EndpointStatusReason
remains empty.
INACTIVE
: The AppInstanceUserEndpoint
is inactive and can't receive message. When
INACTIVE
, the corresponding reason will be conveyed through EndpointStatusReason
.
INVALID_DEVICE_TOKEN
indicates that an AppInstanceUserEndpoint
is INACTIVE
due to invalid device token
INVALID_PINPOINT_ARN
indicates that an AppInstanceUserEndpoint
is INACTIVE
due to an invalid pinpoint ARN that was input through the ResourceArn
field.
AppInstanceUserEndpoint
. Supported
values:
ACTIVE
: The AppInstanceUserEndpoint
is active and able to receive messages.
When ACTIVE
, the EndpointStatusReason
remains empty.
INACTIVE
: The AppInstanceUserEndpoint
is inactive and can't receive message.
When INACTIVE
, the corresponding reason will be conveyed through
EndpointStatusReason
.
INVALID_DEVICE_TOKEN
indicates that an AppInstanceUserEndpoint
is
INACTIVE
due to invalid device token
INVALID_PINPOINT_ARN
indicates that an AppInstanceUserEndpoint
is
INACTIVE
due to an invalid pinpoint ARN that was input through the ResourceArn
field.
public AppInstanceUserEndpoint withEndpointState(EndpointState endpointState)
A read-only field that represents the state of an AppInstanceUserEndpoint
. Supported values:
ACTIVE
: The AppInstanceUserEndpoint
is active and able to receive messages. When
ACTIVE
, the EndpointStatusReason
remains empty.
INACTIVE
: The AppInstanceUserEndpoint
is inactive and can't receive message. When
INACTIVE
, the corresponding reason will be conveyed through EndpointStatusReason
.
INVALID_DEVICE_TOKEN
indicates that an AppInstanceUserEndpoint
is INACTIVE
due to invalid device token
INVALID_PINPOINT_ARN
indicates that an AppInstanceUserEndpoint
is INACTIVE
due to an invalid pinpoint ARN that was input through the ResourceArn
field.
endpointState
- A read-only field that represents the state of an AppInstanceUserEndpoint
. Supported
values:
ACTIVE
: The AppInstanceUserEndpoint
is active and able to receive messages. When
ACTIVE
, the EndpointStatusReason
remains empty.
INACTIVE
: The AppInstanceUserEndpoint
is inactive and can't receive message.
When INACTIVE
, the corresponding reason will be conveyed through
EndpointStatusReason
.
INVALID_DEVICE_TOKEN
indicates that an AppInstanceUserEndpoint
is
INACTIVE
due to invalid device token
INVALID_PINPOINT_ARN
indicates that an AppInstanceUserEndpoint
is
INACTIVE
due to an invalid pinpoint ARN that was input through the ResourceArn
field.
public String toString()
toString
in class Object
Object.toString()
public AppInstanceUserEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.