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.BuilderupdateAttributesRequest(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaUpdateAttributesRequest.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-