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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AppInstanceUserEndpoint.BuilderallowMessages(String allowMessages)Boolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.AppInstanceUserEndpoint.BuilderallowMessages(AllowMessages allowMessages)Boolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.AppInstanceUserEndpoint.BuilderappInstanceUserArn(String appInstanceUserArn)The ARN of theAppInstanceUser.AppInstanceUserEndpoint.BuildercreatedTimestamp(Instant createdTimestamp)The time at which anAppInstanceUserEndpointwas created.default AppInstanceUserEndpoint.BuilderendpointAttributes(Consumer<EndpointAttributes.Builder> endpointAttributes)The attributes of anEndpoint.AppInstanceUserEndpoint.BuilderendpointAttributes(EndpointAttributes endpointAttributes)The attributes of anEndpoint.AppInstanceUserEndpoint.BuilderendpointId(String endpointId)The unique identifier of theAppInstanceUserEndpoint.default AppInstanceUserEndpoint.BuilderendpointState(Consumer<EndpointState.Builder> endpointState)A read-only field that represents the state of anAppInstanceUserEndpoint.AppInstanceUserEndpoint.BuilderendpointState(EndpointState endpointState)A read-only field that represents the state of anAppInstanceUserEndpoint.AppInstanceUserEndpoint.BuilderlastUpdatedTimestamp(Instant lastUpdatedTimestamp)The time at which anAppInstanceUserEndpointwas last updated.AppInstanceUserEndpoint.Buildername(String name)The name of theAppInstanceUserEndpoint.AppInstanceUserEndpoint.BuilderresourceArn(String resourceArn)The ARN of the resource to which the endpoint belongs.AppInstanceUserEndpoint.Buildertype(String type)The type of theAppInstanceUserEndpoint.AppInstanceUserEndpoint.Buildertype(AppInstanceUserEndpointType type)The type of theAppInstanceUserEndpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appInstanceUserArn
AppInstanceUserEndpoint.Builder appInstanceUserArn(String appInstanceUserArn)
The ARN of the
AppInstanceUser.- Parameters:
appInstanceUserArn- The ARN of theAppInstanceUser.- 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 theAppInstanceUserEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AppInstanceUserEndpoint.Builder name(String name)
The name of the
AppInstanceUserEndpoint.- Parameters:
name- The name of theAppInstanceUserEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
AppInstanceUserEndpoint.Builder type(String type)
The type of the
AppInstanceUserEndpoint.- Parameters:
type- The type of theAppInstanceUserEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppInstanceUserEndpointType,AppInstanceUserEndpointType
-
type
AppInstanceUserEndpoint.Builder type(AppInstanceUserEndpointType type)
The type of the
AppInstanceUserEndpoint.- Parameters:
type- The type of theAppInstanceUserEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppInstanceUserEndpointType,AppInstanceUserEndpointType
-
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 anEndpoint.- 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
This is a convenience method that creates an instance of theEndpoint.EndpointAttributes.Builderavoiding the need to create one manually viaEndpointAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpointAttributes(EndpointAttributes).- Parameters:
endpointAttributes- a consumer that will call methods onEndpointAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
endpointAttributes(EndpointAttributes)
-
createdTimestamp
AppInstanceUserEndpoint.Builder createdTimestamp(Instant createdTimestamp)
The time at which an
AppInstanceUserEndpointwas created.- Parameters:
createdTimestamp- The time at which anAppInstanceUserEndpointwas 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
AppInstanceUserEndpointwas last updated.- Parameters:
lastUpdatedTimestamp- The time at which anAppInstanceUserEndpointwas 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
AppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages.- Parameters:
allowMessages- Boolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AllowMessages,AllowMessages
-
allowMessages
AppInstanceUserEndpoint.Builder allowMessages(AllowMessages allowMessages)
Boolean that controls whether the
AppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages.- Parameters:
allowMessages- Boolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AllowMessages,AllowMessages
-
endpointState
AppInstanceUserEndpoint.Builder endpointState(EndpointState 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.
- Parameters:
endpointState- A read-only field that represents the state of anAppInstanceUserEndpoint. 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.
-
- 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: 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.
EndpointState.Builderavoiding the need to create one manually viaEndpointState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpointState(EndpointState).- Parameters:
endpointState- a consumer that will call methods onEndpointState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
endpointState(EndpointState)
-
-
-