#[non_exhaustive]pub struct AppInstanceUserEndpointBuilder { /* private fields */ }Expand description
A builder for AppInstanceUserEndpoint.
Implementations§
source§impl AppInstanceUserEndpointBuilder
impl AppInstanceUserEndpointBuilder
sourcepub fn app_instance_user_arn(self, input: impl Into<String>) -> Self
pub fn app_instance_user_arn(self, input: impl Into<String>) -> Self
The ARN of the AppInstanceUser.
sourcepub fn set_app_instance_user_arn(self, input: Option<String>) -> Self
pub fn set_app_instance_user_arn(self, input: Option<String>) -> Self
The ARN of the AppInstanceUser.
sourcepub fn get_app_instance_user_arn(&self) -> &Option<String>
pub fn get_app_instance_user_arn(&self) -> &Option<String>
The ARN of the AppInstanceUser.
sourcepub fn endpoint_id(self, input: impl Into<String>) -> Self
pub fn endpoint_id(self, input: impl Into<String>) -> Self
The unique identifier of the AppInstanceUserEndpoint.
sourcepub fn set_endpoint_id(self, input: Option<String>) -> Self
pub fn set_endpoint_id(self, input: Option<String>) -> Self
The unique identifier of the AppInstanceUserEndpoint.
sourcepub fn get_endpoint_id(&self) -> &Option<String>
pub fn get_endpoint_id(&self) -> &Option<String>
The unique identifier of the AppInstanceUserEndpoint.
sourcepub fn type(self, input: AppInstanceUserEndpointType) -> Self
pub fn type(self, input: AppInstanceUserEndpointType) -> Self
The type of the AppInstanceUserEndpoint.
sourcepub fn set_type(self, input: Option<AppInstanceUserEndpointType>) -> Self
pub fn set_type(self, input: Option<AppInstanceUserEndpointType>) -> Self
The type of the AppInstanceUserEndpoint.
sourcepub fn get_type(&self) -> &Option<AppInstanceUserEndpointType>
pub fn get_type(&self) -> &Option<AppInstanceUserEndpointType>
The type of the AppInstanceUserEndpoint.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN of the resource to which the endpoint belongs.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN of the resource to which the endpoint belongs.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The ARN of the resource to which the endpoint belongs.
sourcepub fn endpoint_attributes(self, input: EndpointAttributes) -> Self
pub fn endpoint_attributes(self, input: EndpointAttributes) -> Self
The attributes of an Endpoint.
sourcepub fn set_endpoint_attributes(self, input: Option<EndpointAttributes>) -> Self
pub fn set_endpoint_attributes(self, input: Option<EndpointAttributes>) -> Self
The attributes of an Endpoint.
sourcepub fn get_endpoint_attributes(&self) -> &Option<EndpointAttributes>
pub fn get_endpoint_attributes(&self) -> &Option<EndpointAttributes>
The attributes of an Endpoint.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The time at which an AppInstanceUserEndpoint was created.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The time at which an AppInstanceUserEndpoint was created.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The time at which an AppInstanceUserEndpoint was created.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
The time at which an AppInstanceUserEndpoint was last updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
The time at which an AppInstanceUserEndpoint was last updated.
sourcepub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
The time at which an AppInstanceUserEndpoint was last updated.
sourcepub fn allow_messages(self, input: AllowMessages) -> Self
pub fn allow_messages(self, input: AllowMessages) -> Self
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.
sourcepub fn set_allow_messages(self, input: Option<AllowMessages>) -> Self
pub fn set_allow_messages(self, input: Option<AllowMessages>) -> Self
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.
sourcepub fn get_allow_messages(&self) -> &Option<AllowMessages>
pub fn get_allow_messages(&self) -> &Option<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.
sourcepub fn endpoint_state(self, input: EndpointState) -> Self
pub fn endpoint_state(self, input: EndpointState) -> Self
A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:
-
ACTIVE: TheAppInstanceUserEndpointis active and able to receive messages. WhenACTIVE, theEndpointStatusReasonremains empty. -
INACTIVE: TheAppInstanceUserEndpointis inactive and can't receive message. WhenINACTIVE, the corresponding reason will be conveyed throughEndpointStatusReason. -
INVALID_DEVICE_TOKENindicates that anAppInstanceUserEndpointisINACTIVEdue to invalid device token -
INVALID_PINPOINT_ARNindicates that anAppInstanceUserEndpointisINACTIVEdue to an invalid pinpoint ARN that was input through theResourceArnfield.
sourcepub fn set_endpoint_state(self, input: Option<EndpointState>) -> Self
pub fn set_endpoint_state(self, input: Option<EndpointState>) -> Self
A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:
-
ACTIVE: TheAppInstanceUserEndpointis active and able to receive messages. WhenACTIVE, theEndpointStatusReasonremains empty. -
INACTIVE: TheAppInstanceUserEndpointis inactive and can't receive message. WhenINACTIVE, the corresponding reason will be conveyed throughEndpointStatusReason. -
INVALID_DEVICE_TOKENindicates that anAppInstanceUserEndpointisINACTIVEdue to invalid device token -
INVALID_PINPOINT_ARNindicates that anAppInstanceUserEndpointisINACTIVEdue to an invalid pinpoint ARN that was input through theResourceArnfield.
sourcepub fn get_endpoint_state(&self) -> &Option<EndpointState>
pub fn get_endpoint_state(&self) -> &Option<EndpointState>
A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:
-
ACTIVE: TheAppInstanceUserEndpointis active and able to receive messages. WhenACTIVE, theEndpointStatusReasonremains empty. -
INACTIVE: TheAppInstanceUserEndpointis inactive and can't receive message. WhenINACTIVE, the corresponding reason will be conveyed throughEndpointStatusReason. -
INVALID_DEVICE_TOKENindicates that anAppInstanceUserEndpointisINACTIVEdue to invalid device token -
INVALID_PINPOINT_ARNindicates that anAppInstanceUserEndpointisINACTIVEdue to an invalid pinpoint ARN that was input through theResourceArnfield.
sourcepub fn build(self) -> AppInstanceUserEndpoint
pub fn build(self) -> AppInstanceUserEndpoint
Consumes the builder and constructs a AppInstanceUserEndpoint.
Trait Implementations§
source§impl Clone for AppInstanceUserEndpointBuilder
impl Clone for AppInstanceUserEndpointBuilder
source§fn clone(&self) -> AppInstanceUserEndpointBuilder
fn clone(&self) -> AppInstanceUserEndpointBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AppInstanceUserEndpointBuilder
impl Default for AppInstanceUserEndpointBuilder
source§fn default() -> AppInstanceUserEndpointBuilder
fn default() -> AppInstanceUserEndpointBuilder
source§impl PartialEq for AppInstanceUserEndpointBuilder
impl PartialEq for AppInstanceUserEndpointBuilder
source§fn eq(&self, other: &AppInstanceUserEndpointBuilder) -> bool
fn eq(&self, other: &AppInstanceUserEndpointBuilder) -> bool
self and other values to be equal, and is used
by ==.