Interface RemoveAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RemoveAttributesRequest.Builder,
,RemoveAttributesRequest> PinpointRequest.Builder
,SdkBuilder<RemoveAttributesRequest.Builder,
,RemoveAttributesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RemoveAttributesRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The unique identifier for the application.attributeType
(String attributeType) The type of attribute or attributes to remove.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default RemoveAttributesRequest.Builder
updateAttributesRequest
(Consumer<UpdateAttributesRequest.Builder> updateAttributesRequest) Sets the value of the UpdateAttributesRequest property for this object.updateAttributesRequest
(UpdateAttributesRequest updateAttributesRequest) Sets the value of the UpdateAttributesRequest property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointRequest.Builder
build
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 Details
-
applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
- Parameters:
applicationId
- The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeType
The type of attribute or attributes to remove. Valid values are:
-
endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
-
endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
-
endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
- Parameters:
attributeType
-The type of attribute or attributes to remove. Valid values are:
-
endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
-
endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
-
endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
updateAttributesRequest
RemoveAttributesRequest.Builder updateAttributesRequest(UpdateAttributesRequest updateAttributesRequest) Sets the value of the UpdateAttributesRequest property for this object.- Parameters:
updateAttributesRequest
- The new value for the UpdateAttributesRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateAttributesRequest
default RemoveAttributesRequest.Builder updateAttributesRequest(Consumer<UpdateAttributesRequest.Builder> updateAttributesRequest) Sets the value of the UpdateAttributesRequest property for this object. This is a convenience method that creates an instance of theUpdateAttributesRequest.Builder
avoiding the need to create one manually viaUpdateAttributesRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateAttributesRequest(UpdateAttributesRequest)
.- Parameters:
updateAttributesRequest
- a consumer that will call methods onUpdateAttributesRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
RemoveAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RemoveAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-