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.filter
(Consumer<Filter.Builder> filter) Defines how to filter incoming objects to include part of the Calculated Attribute.Defines how to filter incoming objects to include part of the Calculated Attribute.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.useHistoricalData
(Boolean useHistoricalData) Whether historical data ingested before the Calculated Attribute was created should be included in calculations.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.customerprofiles.model.CustomerProfilesRequest.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
-
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.Builder
avoiding the need to create one manually viaAttributeDetails.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaConditions.builder()
.When the
Consumer
completes,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:
-
filter
Defines how to filter incoming objects to include part of the Calculated Attribute.
- Parameters:
filter
- Defines how to filter incoming objects to include part of the Calculated Attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Defines how to filter incoming objects to include part of the Calculated Attribute.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(Filter)
.- Parameters:
filter
- a consumer that will call methods onFilter.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:
-
useHistoricalData
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.
- Parameters:
useHistoricalData
- Whether historical data ingested before the Calculated Attribute was created should be included in calculations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.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
CreateCalculatedAttributeDefinitionRequest.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.
-