Interface RegisterAppInstanceUserEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkIdentityRequest.Builder,CopyableBuilder<RegisterAppInstanceUserEndpointRequest.Builder,,RegisterAppInstanceUserEndpointRequest> SdkBuilder<RegisterAppInstanceUserEndpointRequest.Builder,,RegisterAppInstanceUserEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterAppInstanceUserEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowMessages(String allowMessages) Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.allowMessages(AllowMessages allowMessages) Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.appInstanceUserArn(String appInstanceUserArn) The ARN of theAppInstanceUser.clientRequestToken(String clientRequestToken) The unique ID assigned to the request.endpointAttributes(Consumer<EndpointAttributes.Builder> endpointAttributes) The attributes of anEndpoint.endpointAttributes(EndpointAttributes endpointAttributes) The attributes of anEndpoint.The name of theAppInstanceUserEndpoint.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn(String resourceArn) The ARN of the resource to which the endpoint belongs.The type of theAppInstanceUserEndpoint.The type of theAppInstanceUserEndpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.chimesdkidentity.model.ChimeSdkIdentityRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-
-
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:
-
-
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:
-
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
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
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:
-
overrideConfiguration
RegisterAppInstanceUserEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RegisterAppInstanceUserEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-