@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMetricAttributionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMetricAttributionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMetricAttributionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
|
List<MetricAttribute> |
getMetrics()
A list of metric attributes for the metric attribution.
|
MetricAttributionOutput |
getMetricsOutputConfig()
The output configuration details for the metric attribution.
|
String |
getName()
A name for the metric attribution.
|
int |
hashCode() |
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
|
void |
setMetrics(Collection<MetricAttribute> metrics)
A list of metric attributes for the metric attribution.
|
void |
setMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The output configuration details for the metric attribution.
|
void |
setName(String name)
A name for the metric attribution.
|
String |
toString()
Returns a string representation of this object.
|
CreateMetricAttributionRequest |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
|
CreateMetricAttributionRequest |
withMetrics(Collection<MetricAttribute> metrics)
A list of metric attributes for the metric attribution.
|
CreateMetricAttributionRequest |
withMetrics(MetricAttribute... metrics)
A list of metric attributes for the metric attribution.
|
CreateMetricAttributionRequest |
withMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The output configuration details for the metric attribution.
|
CreateMetricAttributionRequest |
withName(String name)
A name for the metric attribution.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A name for the metric attribution.
name
- A name for the metric attribution.public String getName()
A name for the metric attribution.
public CreateMetricAttributionRequest withName(String name)
A name for the metric attribution.
name
- A name for the metric attribution.public void setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
datasetGroupArn
- The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
public CreateMetricAttributionRequest withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
datasetGroupArn
- The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.public List<MetricAttribute> getMetrics()
A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track
and a function. Available functions are SUM()
or SAMPLECOUNT()
. For SUM() functions,
provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example
SUM(Items.PRICE).
SUM()
or SAMPLECOUNT()
. For SUM()
functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For
example SUM(Items.PRICE).public void setMetrics(Collection<MetricAttribute> metrics)
A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track
and a function. Available functions are SUM()
or SAMPLECOUNT()
. For SUM() functions,
provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example
SUM(Items.PRICE).
metrics
- A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to
track and a function. Available functions are SUM()
or SAMPLECOUNT()
. For SUM()
functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For
example SUM(Items.PRICE).public CreateMetricAttributionRequest withMetrics(MetricAttribute... metrics)
A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track
and a function. Available functions are SUM()
or SAMPLECOUNT()
. For SUM() functions,
provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example
SUM(Items.PRICE).
NOTE: This method appends the values to the existing list (if any). Use
setMetrics(java.util.Collection)
or withMetrics(java.util.Collection)
if you want to override
the existing values.
metrics
- A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to
track and a function. Available functions are SUM()
or SAMPLECOUNT()
. For SUM()
functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For
example SUM(Items.PRICE).public CreateMetricAttributionRequest withMetrics(Collection<MetricAttribute> metrics)
A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track
and a function. Available functions are SUM()
or SAMPLECOUNT()
. For SUM() functions,
provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example
SUM(Items.PRICE).
metrics
- A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to
track and a function. Available functions are SUM()
or SAMPLECOUNT()
. For SUM()
functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For
example SUM(Items.PRICE).public void setMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The output configuration details for the metric attribution.
metricsOutputConfig
- The output configuration details for the metric attribution.public MetricAttributionOutput getMetricsOutputConfig()
The output configuration details for the metric attribution.
public CreateMetricAttributionRequest withMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The output configuration details for the metric attribution.
metricsOutputConfig
- The output configuration details for the metric attribution.public String toString()
toString
in class Object
Object.toString()
public CreateMetricAttributionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.