Interface CreateDatasetGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDatasetGroupRequest.Builder,CreateDatasetGroupRequest>,ForecastRequest.Builder,SdkBuilder<CreateDatasetGroupRequest.Builder,CreateDatasetGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDatasetGroupRequest
public static interface CreateDatasetGroupRequest.Builder extends ForecastRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetGroupRequest.Builder,CreateDatasetGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDatasetGroupRequest.BuilderdatasetArns(String... datasetArns)An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.CreateDatasetGroupRequest.BuilderdatasetArns(Collection<String> datasetArns)An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.CreateDatasetGroupRequest.BuilderdatasetGroupName(String datasetGroupName)A name for the dataset group.CreateDatasetGroupRequest.Builderdomain(String domain)The domain associated with the dataset group.CreateDatasetGroupRequest.Builderdomain(Domain domain)The domain associated with the dataset group.CreateDatasetGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDatasetGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDatasetGroupRequest.Buildertags(Collection<Tag> tags)The optional metadata that you apply to the dataset group to help you categorize and organize them.CreateDatasetGroupRequest.Buildertags(Consumer<Tag.Builder>... tags)The optional metadata that you apply to the dataset group to help you categorize and organize them.CreateDatasetGroupRequest.Buildertags(Tag... tags)The optional metadata that you apply to the dataset group to help you categorize and organize them.-
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.forecast.model.ForecastRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
datasetGroupName
CreateDatasetGroupRequest.Builder datasetGroupName(String datasetGroupName)
A name for the dataset group.
- Parameters:
datasetGroupName- A name for the dataset group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
CreateDatasetGroupRequest.Builder domain(String domain)
The domain associated with the dataset group. When you add a dataset to a dataset group, this value and the value specified for the
Domainparameter of the CreateDataset operation must match.The
DomainandDatasetTypethat you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose theRETAILdomain andTARGET_TIME_SERIESas theDatasetType, Amazon Forecast requires thatitem_id,timestamp, anddemandfields are present in your data. For more information, see Dataset groups.- Parameters:
domain- The domain associated with the dataset group. When you add a dataset to a dataset group, this value and the value specified for theDomainparameter of the CreateDataset operation must match.The
DomainandDatasetTypethat you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose theRETAILdomain andTARGET_TIME_SERIESas theDatasetType, Amazon Forecast requires thatitem_id,timestamp, anddemandfields are present in your data. For more information, see Dataset groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Domain,Domain
-
domain
CreateDatasetGroupRequest.Builder domain(Domain domain)
The domain associated with the dataset group. When you add a dataset to a dataset group, this value and the value specified for the
Domainparameter of the CreateDataset operation must match.The
DomainandDatasetTypethat you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose theRETAILdomain andTARGET_TIME_SERIESas theDatasetType, Amazon Forecast requires thatitem_id,timestamp, anddemandfields are present in your data. For more information, see Dataset groups.- Parameters:
domain- The domain associated with the dataset group. When you add a dataset to a dataset group, this value and the value specified for theDomainparameter of the CreateDataset operation must match.The
DomainandDatasetTypethat you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose theRETAILdomain andTARGET_TIME_SERIESas theDatasetType, Amazon Forecast requires thatitem_id,timestamp, anddemandfields are present in your data. For more information, see Dataset groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Domain,Domain
-
datasetArns
CreateDatasetGroupRequest.Builder datasetArns(Collection<String> datasetArns)
An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
- Parameters:
datasetArns- An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArns
CreateDatasetGroupRequest.Builder datasetArns(String... datasetArns)
An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
- Parameters:
datasetArns- An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDatasetGroupRequest.Builder tags(Collection<Tag> tags)
The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit.
- Parameters:
tags- The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
CreateDatasetGroupRequest.Builder tags(Tag... tags)
The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit.
- Parameters:
tags- The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
CreateDatasetGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit.
Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-
overrideConfiguration
CreateDatasetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDatasetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-