public static interface AppInstanceUserEndpoint.Builder extends SdkPojo, CopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>
| Modifier and Type | Method and Description |
|---|---|
AppInstanceUserEndpoint.Builder |
allowMessages(AllowMessages allowMessages)
Boolean that controls whether the
AppInstanceUserEndpoint is opted in to receive messages. |
AppInstanceUserEndpoint.Builder |
allowMessages(String allowMessages)
Boolean that controls whether the
AppInstanceUserEndpoint is opted in to receive messages. |
AppInstanceUserEndpoint.Builder |
appInstanceUserArn(String appInstanceUserArn)
The ARN of the
AppInstanceUser. |
AppInstanceUserEndpoint.Builder |
createdTimestamp(Instant createdTimestamp)
The time at which an
AppInstanceUserEndpoint was created. |
default AppInstanceUserEndpoint.Builder |
endpointAttributes(Consumer<EndpointAttributes.Builder> endpointAttributes)
The attributes of an
Endpoint. |
AppInstanceUserEndpoint.Builder |
endpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an
Endpoint. |
AppInstanceUserEndpoint.Builder |
endpointId(String endpointId)
The unique identifier of the
AppInstanceUserEndpoint. |
default AppInstanceUserEndpoint.Builder |
endpointState(Consumer<EndpointState.Builder> endpointState)
A read-only field that represents the state of an
AppInstanceUserEndpoint. |
AppInstanceUserEndpoint.Builder |
endpointState(EndpointState endpointState)
A read-only field that represents the state of an
AppInstanceUserEndpoint. |
AppInstanceUserEndpoint.Builder |
lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The time at which an
AppInstanceUserEndpoint was last updated. |
AppInstanceUserEndpoint.Builder |
name(String name)
The name of the
AppInstanceUserEndpoint. |
AppInstanceUserEndpoint.Builder |
resourceArn(String resourceArn)
The ARN of the resource to which the endpoint belongs.
|
AppInstanceUserEndpoint.Builder |
type(AppInstanceUserEndpointType type)
The type of the
AppInstanceUserEndpoint. |
AppInstanceUserEndpoint.Builder |
type(String type)
The type of the
AppInstanceUserEndpoint. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAppInstanceUserEndpoint.Builder appInstanceUserArn(String appInstanceUserArn)
The ARN of the AppInstanceUser.
appInstanceUserArn - The ARN of the AppInstanceUser.AppInstanceUserEndpoint.Builder endpointId(String endpointId)
The unique identifier of the AppInstanceUserEndpoint.
endpointId - The unique identifier of the AppInstanceUserEndpoint.AppInstanceUserEndpoint.Builder name(String name)
The name of the AppInstanceUserEndpoint.
name - The name of the AppInstanceUserEndpoint.AppInstanceUserEndpoint.Builder type(String type)
The type of the AppInstanceUserEndpoint.
type - The type of the AppInstanceUserEndpoint.AppInstanceUserEndpointType,
AppInstanceUserEndpointTypeAppInstanceUserEndpoint.Builder type(AppInstanceUserEndpointType type)
The type of the AppInstanceUserEndpoint.
type - The type of the AppInstanceUserEndpoint.AppInstanceUserEndpointType,
AppInstanceUserEndpointTypeAppInstanceUserEndpoint.Builder resourceArn(String resourceArn)
The ARN of the resource to which the endpoint belongs.
resourceArn - The ARN of the resource to which the endpoint belongs.AppInstanceUserEndpoint.Builder endpointAttributes(EndpointAttributes endpointAttributes)
The attributes of an Endpoint.
endpointAttributes - The attributes of an Endpoint.default AppInstanceUserEndpoint.Builder endpointAttributes(Consumer<EndpointAttributes.Builder> endpointAttributes)
The attributes of an Endpoint.
EndpointAttributes.Builder avoiding the
need to create one manually via EndpointAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to endpointAttributes(EndpointAttributes).
endpointAttributes - a consumer that will call methods on EndpointAttributes.BuilderendpointAttributes(EndpointAttributes)AppInstanceUserEndpoint.Builder createdTimestamp(Instant createdTimestamp)
The time at which an AppInstanceUserEndpoint was created.
createdTimestamp - The time at which an AppInstanceUserEndpoint was created.AppInstanceUserEndpoint.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The time at which an AppInstanceUserEndpoint was last updated.
lastUpdatedTimestamp - The time at which an AppInstanceUserEndpoint was last updated.AppInstanceUserEndpoint.Builder allowMessages(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,
AllowMessagesAppInstanceUserEndpoint.Builder allowMessages(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,
AllowMessagesAppInstanceUserEndpoint.Builder endpointState(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.
default AppInstanceUserEndpoint.Builder endpointState(Consumer<EndpointState.Builder> 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.Builder avoiding the need
to create one manually via EndpointState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to endpointState(EndpointState).
endpointState - a consumer that will call methods on EndpointState.BuilderendpointState(EndpointState)Copyright © 2023. All rights reserved.