Interface AppInstanceUserEndpoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>, SdkBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>, SdkPojo
Enclosing class:
AppInstanceUserEndpoint

public static interface AppInstanceUserEndpoint.Builder extends SdkPojo, CopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>
  • Method Details

    • appInstanceUserArn

      AppInstanceUserEndpoint.Builder appInstanceUserArn(String appInstanceUserArn)

      The ARN of the AppInstanceUser.

      Parameters:
      appInstanceUserArn - The ARN of the AppInstanceUser.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointId

      AppInstanceUserEndpoint.Builder endpointId(String endpointId)

      The unique identifier of the AppInstanceUserEndpoint.

      Parameters:
      endpointId - The unique identifier of the AppInstanceUserEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the AppInstanceUserEndpoint.

      Parameters:
      name - The name of the AppInstanceUserEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the AppInstanceUserEndpoint.

      Parameters:
      type - The type of the AppInstanceUserEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the AppInstanceUserEndpoint.

      Parameters:
      type - The type of the AppInstanceUserEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceArn

      AppInstanceUserEndpoint.Builder resourceArn(String resourceArn)

      The ARN of the resource to which the endpoint belongs.

      Parameters:
      resourceArn - The ARN of the resource to which the endpoint belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointAttributes

      AppInstanceUserEndpoint.Builder endpointAttributes(EndpointAttributes endpointAttributes)

      The attributes of an Endpoint.

      Parameters:
      endpointAttributes - The attributes of an Endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointAttributes

      default AppInstanceUserEndpoint.Builder endpointAttributes(Consumer<EndpointAttributes.Builder> endpointAttributes)

      The attributes of an Endpoint.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      endpointAttributes - a consumer that will call methods on EndpointAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTimestamp

      AppInstanceUserEndpoint.Builder createdTimestamp(Instant createdTimestamp)

      The time at which an AppInstanceUserEndpoint was created.

      Parameters:
      createdTimestamp - The time at which an AppInstanceUserEndpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTimestamp

      AppInstanceUserEndpoint.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)

      The time at which an AppInstanceUserEndpoint was last updated.

      Parameters:
      lastUpdatedTimestamp - The time at which an AppInstanceUserEndpoint was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowMessages

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • allowMessages

      AppInstanceUserEndpoint.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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • endpointState

      AppInstanceUserEndpoint.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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointState

      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.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      endpointState - a consumer that will call methods on EndpointState.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: