Interface CreateCalculatedAttributeDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCalculatedAttributeDefinitionRequest.Builder,,CreateCalculatedAttributeDefinitionRequest> CustomerProfilesRequest.Builder,SdkBuilder<CreateCalculatedAttributeDefinitionRequest.Builder,,CreateCalculatedAttributeDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCalculatedAttributeDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributeDetails(Consumer<AttributeDetails.Builder> attributeDetails) Mathematical expression and a list of attribute items specified in that expression.attributeDetails(AttributeDetails attributeDetails) Mathematical expression and a list of attribute items specified in that expression.calculatedAttributeName(String calculatedAttributeName) The unique name of the calculated attribute.conditions(Consumer<Conditions.Builder> conditions) The conditions including range, object count, and threshold for the calculated attribute.conditions(Conditions conditions) The conditions including range, object count, and threshold for the calculated attribute.description(String description) The description of the calculated attribute.displayName(String displayName) The display name of the calculated attribute.domainName(String domainName) The unique name of the domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The aggregation operation to perform for the calculated attribute.The aggregation operation to perform for the calculated attribute.The tags used to organize, track, or control access for this resource.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.customerprofiles.model.CustomerProfilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainName
The unique name of the domain.
- Parameters:
domainName- The unique name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculatedAttributeName
CreateCalculatedAttributeDefinitionRequest.Builder calculatedAttributeName(String calculatedAttributeName) The unique name of the calculated attribute.
- Parameters:
calculatedAttributeName- The unique name of the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the calculated attribute.
- Parameters:
displayName- The display name of the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the calculated attribute.
- Parameters:
description- The description of the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDetails
CreateCalculatedAttributeDefinitionRequest.Builder attributeDetails(AttributeDetails attributeDetails) Mathematical expression and a list of attribute items specified in that expression.
- Parameters:
attributeDetails- Mathematical expression and a list of attribute items specified in that expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDetails
default CreateCalculatedAttributeDefinitionRequest.Builder attributeDetails(Consumer<AttributeDetails.Builder> attributeDetails) Mathematical expression and a list of attribute items specified in that expression.
This is a convenience method that creates an instance of theAttributeDetails.Builderavoiding the need to create one manually viaAttributeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeDetails(AttributeDetails).- Parameters:
attributeDetails- a consumer that will call methods onAttributeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
The conditions including range, object count, and threshold for the calculated attribute.
- Parameters:
conditions- The conditions including range, object count, and threshold for the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
default CreateCalculatedAttributeDefinitionRequest.Builder conditions(Consumer<Conditions.Builder> conditions) The conditions including range, object count, and threshold for the calculated attribute.
This is a convenience method that creates an instance of theConditions.Builderavoiding the need to create one manually viaConditions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(Conditions).- Parameters:
conditions- a consumer that will call methods onConditions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistic
The aggregation operation to perform for the calculated attribute.
- Parameters:
statistic- The aggregation operation to perform for the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistic
The aggregation operation to perform for the calculated attribute.
- Parameters:
statistic- The aggregation operation to perform for the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags used to organize, track, or control access for this resource.
- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCalculatedAttributeDefinitionRequest.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
CreateCalculatedAttributeDefinitionRequest.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.
-