Interface RegisterAppInstanceUserEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkIdentityRequest.Builder,CopyableBuilder<RegisterAppInstanceUserEndpointRequest.Builder,RegisterAppInstanceUserEndpointRequest>,SdkBuilder<RegisterAppInstanceUserEndpointRequest.Builder,RegisterAppInstanceUserEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RegisterAppInstanceUserEndpointRequest
public static interface RegisterAppInstanceUserEndpointRequest.Builder extends ChimeSdkIdentityRequest.Builder, SdkPojo, CopyableBuilder<RegisterAppInstanceUserEndpointRequest.Builder,RegisterAppInstanceUserEndpointRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.chimesdkidentity.model.ChimeSdkIdentityRequest.Builder
build
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
appInstanceUserArn
RegisterAppInstanceUserEndpointRequest.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.
-
name
RegisterAppInstanceUserEndpointRequest.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
RegisterAppInstanceUserEndpointRequest.Builder type(String type)
The type of the
AppInstanceUserEndpoint. Supported types:-
APNS: The mobile notification service for an Apple device. -
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device. -
GCM: The mobile notification service for an Android device.
Populate the
ResourceArnvalue of each type asPinpointAppArn.- Parameters:
type- The type of theAppInstanceUserEndpoint. Supported types:-
APNS: The mobile notification service for an Apple device. -
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device. -
GCM: The mobile notification service for an Android device.
Populate the
ResourceArnvalue of each type asPinpointAppArn.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppInstanceUserEndpointType,AppInstanceUserEndpointType
-
-
type
RegisterAppInstanceUserEndpointRequest.Builder type(AppInstanceUserEndpointType type)
The type of the
AppInstanceUserEndpoint. Supported types:-
APNS: The mobile notification service for an Apple device. -
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device. -
GCM: The mobile notification service for an Android device.
Populate the
ResourceArnvalue of each type asPinpointAppArn.- Parameters:
type- The type of theAppInstanceUserEndpoint. Supported types:-
APNS: The mobile notification service for an Apple device. -
APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device. -
GCM: The mobile notification service for an Android device.
Populate the
ResourceArnvalue of each type asPinpointAppArn.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppInstanceUserEndpointType,AppInstanceUserEndpointType
-
-
resourceArn
RegisterAppInstanceUserEndpointRequest.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
RegisterAppInstanceUserEndpointRequest.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 RegisterAppInstanceUserEndpointRequest.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)
-
clientRequestToken
RegisterAppInstanceUserEndpointRequest.Builder clientRequestToken(String clientRequestToken)
The unique ID assigned to the request. Use different tokens to register other endpoints.
- Parameters:
clientRequestToken- The unique ID assigned to the request. Use different tokens to register other endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowMessages
RegisterAppInstanceUserEndpointRequest.Builder allowMessages(String allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
ALLindicates the endpoint receives all messages.NONEindicates the endpoint receives no messages.- Parameters:
allowMessages- Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.ALLindicates the endpoint receives all messages.NONEindicates the endpoint receives no messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AllowMessages,AllowMessages
-
allowMessages
RegisterAppInstanceUserEndpointRequest.Builder allowMessages(AllowMessages allowMessages)
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
ALLindicates the endpoint receives all messages.NONEindicates the endpoint receives no messages.- Parameters:
allowMessages- Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.ALLindicates the endpoint receives all messages.NONEindicates the endpoint receives no messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AllowMessages,AllowMessages
-
overrideConfiguration
RegisterAppInstanceUserEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RegisterAppInstanceUserEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-