@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFeatureGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFeatureGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFeatureGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A free-form description of a
FeatureGroup . |
String |
getEventTimeFeatureName()
The name of the feature that stores the
EventTime of a Record in a
FeatureGroup . |
List<FeatureDefinition> |
getFeatureDefinitions()
A list of
Feature names and types. |
String |
getFeatureGroupName()
The name of the
FeatureGroup . |
OfflineStoreConfig |
getOfflineStoreConfig()
Use this to configure an
OfflineFeatureStore . |
OnlineStoreConfig |
getOnlineStoreConfig()
You can turn the
OnlineStore on or off by specifying True for the
EnableOnlineStore flag in OnlineStoreConfig ; the default value is False . |
String |
getRecordIdentifierFeatureName()
The name of the
Feature whose value uniquely identifies a Record defined in the
FeatureStore . |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
OfflineStore
if an OfflineStoreConfig is provided. |
List<Tag> |
getTags()
Tags used to identify
Features in each FeatureGroup . |
int |
hashCode() |
void |
setDescription(String description)
A free-form description of a
FeatureGroup . |
void |
setEventTimeFeatureName(String eventTimeFeatureName)
The name of the feature that stores the
EventTime of a Record in a
FeatureGroup . |
void |
setFeatureDefinitions(Collection<FeatureDefinition> featureDefinitions)
A list of
Feature names and types. |
void |
setFeatureGroupName(String featureGroupName)
The name of the
FeatureGroup . |
void |
setOfflineStoreConfig(OfflineStoreConfig offlineStoreConfig)
Use this to configure an
OfflineFeatureStore . |
void |
setOnlineStoreConfig(OnlineStoreConfig onlineStoreConfig)
You can turn the
OnlineStore on or off by specifying True for the
EnableOnlineStore flag in OnlineStoreConfig ; the default value is False . |
void |
setRecordIdentifierFeatureName(String recordIdentifierFeatureName)
The name of the
Feature whose value uniquely identifies a Record defined in the
FeatureStore . |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
OfflineStore
if an OfflineStoreConfig is provided. |
void |
setTags(Collection<Tag> tags)
Tags used to identify
Features in each FeatureGroup . |
String |
toString()
Returns a string representation of this object.
|
CreateFeatureGroupRequest |
withDescription(String description)
A free-form description of a
FeatureGroup . |
CreateFeatureGroupRequest |
withEventTimeFeatureName(String eventTimeFeatureName)
The name of the feature that stores the
EventTime of a Record in a
FeatureGroup . |
CreateFeatureGroupRequest |
withFeatureDefinitions(Collection<FeatureDefinition> featureDefinitions)
A list of
Feature names and types. |
CreateFeatureGroupRequest |
withFeatureDefinitions(FeatureDefinition... featureDefinitions)
A list of
Feature names and types. |
CreateFeatureGroupRequest |
withFeatureGroupName(String featureGroupName)
The name of the
FeatureGroup . |
CreateFeatureGroupRequest |
withOfflineStoreConfig(OfflineStoreConfig offlineStoreConfig)
Use this to configure an
OfflineFeatureStore . |
CreateFeatureGroupRequest |
withOnlineStoreConfig(OnlineStoreConfig onlineStoreConfig)
You can turn the
OnlineStore on or off by specifying True for the
EnableOnlineStore flag in OnlineStoreConfig ; the default value is False . |
CreateFeatureGroupRequest |
withRecordIdentifierFeatureName(String recordIdentifierFeatureName)
The name of the
Feature whose value uniquely identifies a Record defined in the
FeatureStore . |
CreateFeatureGroupRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
OfflineStore
if an OfflineStoreConfig is provided. |
CreateFeatureGroupRequest |
withTags(Collection<Tag> tags)
Tags used to identify
Features in each FeatureGroup . |
CreateFeatureGroupRequest |
withTags(Tag... tags)
Tags used to identify
Features in each FeatureGroup . |
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 setFeatureGroupName(String featureGroupName)
The name of the FeatureGroup
. The name must be unique within an AWS Region in an AWS account. The
name:
Must start and end with an alphanumeric character.
Can only contain alphanumeric character and hyphens. Spaces are not allowed.
featureGroupName
- The name of the FeatureGroup
. The name must be unique within an AWS Region in an AWS account.
The name:
Must start and end with an alphanumeric character.
Can only contain alphanumeric character and hyphens. Spaces are not allowed.
public String getFeatureGroupName()
The name of the FeatureGroup
. The name must be unique within an AWS Region in an AWS account. The
name:
Must start and end with an alphanumeric character.
Can only contain alphanumeric character and hyphens. Spaces are not allowed.
FeatureGroup
. The name must be unique within an AWS Region in an AWS
account. The name:
Must start and end with an alphanumeric character.
Can only contain alphanumeric character and hyphens. Spaces are not allowed.
public CreateFeatureGroupRequest withFeatureGroupName(String featureGroupName)
The name of the FeatureGroup
. The name must be unique within an AWS Region in an AWS account. The
name:
Must start and end with an alphanumeric character.
Can only contain alphanumeric character and hyphens. Spaces are not allowed.
featureGroupName
- The name of the FeatureGroup
. The name must be unique within an AWS Region in an AWS account.
The name:
Must start and end with an alphanumeric character.
Can only contain alphanumeric character and hyphens. Spaces are not allowed.
public void setRecordIdentifierFeatureName(String recordIdentifierFeatureName)
The name of the Feature
whose value uniquely identifies a Record
defined in the
FeatureStore
. Only the latest record per identifier value will be stored in the
OnlineStore
. RecordIdentifierFeatureName
must be one of feature definitions' names.
You use the RecordIdentifierFeatureName
to access data in a FeatureStore
.
This name:
Must start and end with an alphanumeric character.
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
recordIdentifierFeatureName
- The name of the Feature
whose value uniquely identifies a Record
defined in the
FeatureStore
. Only the latest record per identifier value will be stored in the
OnlineStore
. RecordIdentifierFeatureName
must be one of feature definitions'
names.
You use the RecordIdentifierFeatureName
to access data in a FeatureStore
.
This name:
Must start and end with an alphanumeric character.
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
public String getRecordIdentifierFeatureName()
The name of the Feature
whose value uniquely identifies a Record
defined in the
FeatureStore
. Only the latest record per identifier value will be stored in the
OnlineStore
. RecordIdentifierFeatureName
must be one of feature definitions' names.
You use the RecordIdentifierFeatureName
to access data in a FeatureStore
.
This name:
Must start and end with an alphanumeric character.
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
Feature
whose value uniquely identifies a Record
defined in the
FeatureStore
. Only the latest record per identifier value will be stored in the
OnlineStore
. RecordIdentifierFeatureName
must be one of feature definitions'
names.
You use the RecordIdentifierFeatureName
to access data in a FeatureStore
.
This name:
Must start and end with an alphanumeric character.
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
public CreateFeatureGroupRequest withRecordIdentifierFeatureName(String recordIdentifierFeatureName)
The name of the Feature
whose value uniquely identifies a Record
defined in the
FeatureStore
. Only the latest record per identifier value will be stored in the
OnlineStore
. RecordIdentifierFeatureName
must be one of feature definitions' names.
You use the RecordIdentifierFeatureName
to access data in a FeatureStore
.
This name:
Must start and end with an alphanumeric character.
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
recordIdentifierFeatureName
- The name of the Feature
whose value uniquely identifies a Record
defined in the
FeatureStore
. Only the latest record per identifier value will be stored in the
OnlineStore
. RecordIdentifierFeatureName
must be one of feature definitions'
names.
You use the RecordIdentifierFeatureName
to access data in a FeatureStore
.
This name:
Must start and end with an alphanumeric character.
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
public void setEventTimeFeatureName(String eventTimeFeatureName)
The name of the feature that stores the EventTime
of a Record
in a
FeatureGroup
.
An EventTime
is a point in time when a new event occurs that corresponds to the creation or update
of a Record
in a FeatureGroup
. All Records
in the
FeatureGroup
must have a corresponding EventTime
.
An EventTime
can be a String
or Fractional
.
Fractional
: EventTime
feature values must be a Unix timestamp in seconds.
String
: EventTime
feature values must be an ISO-8601 string in the format. The
following formats are supported yyyy-MM-dd'T'HH:mm:ssZ
and yyyy-MM-dd'T'HH:mm:ss.SSSZ
where yyyy
, MM
, and dd
represent the year, month, and day respectively and
HH
, mm
, ss
, and if applicable, SSS
represent the hour, month,
second and milliseconds respsectively. 'T'
and Z
are constants.
eventTimeFeatureName
- The name of the feature that stores the EventTime
of a Record
in a
FeatureGroup
.
An EventTime
is a point in time when a new event occurs that corresponds to the creation or
update of a Record
in a FeatureGroup
. All Records
in the
FeatureGroup
must have a corresponding EventTime
.
An EventTime
can be a String
or Fractional
.
Fractional
: EventTime
feature values must be a Unix timestamp in seconds.
String
: EventTime
feature values must be an ISO-8601 string in the format. The
following formats are supported yyyy-MM-dd'T'HH:mm:ssZ
and
yyyy-MM-dd'T'HH:mm:ss.SSSZ
where yyyy
, MM
, and dd
represent the year, month, and day respectively and HH
, mm
, ss
, and
if applicable, SSS
represent the hour, month, second and milliseconds respsectively.
'T'
and Z
are constants.
public String getEventTimeFeatureName()
The name of the feature that stores the EventTime
of a Record
in a
FeatureGroup
.
An EventTime
is a point in time when a new event occurs that corresponds to the creation or update
of a Record
in a FeatureGroup
. All Records
in the
FeatureGroup
must have a corresponding EventTime
.
An EventTime
can be a String
or Fractional
.
Fractional
: EventTime
feature values must be a Unix timestamp in seconds.
String
: EventTime
feature values must be an ISO-8601 string in the format. The
following formats are supported yyyy-MM-dd'T'HH:mm:ssZ
and yyyy-MM-dd'T'HH:mm:ss.SSSZ
where yyyy
, MM
, and dd
represent the year, month, and day respectively and
HH
, mm
, ss
, and if applicable, SSS
represent the hour, month,
second and milliseconds respsectively. 'T'
and Z
are constants.
EventTime
of a Record
in a
FeatureGroup
.
An EventTime
is a point in time when a new event occurs that corresponds to the creation or
update of a Record
in a FeatureGroup
. All Records
in the
FeatureGroup
must have a corresponding EventTime
.
An EventTime
can be a String
or Fractional
.
Fractional
: EventTime
feature values must be a Unix timestamp in seconds.
String
: EventTime
feature values must be an ISO-8601 string in the format. The
following formats are supported yyyy-MM-dd'T'HH:mm:ssZ
and
yyyy-MM-dd'T'HH:mm:ss.SSSZ
where yyyy
, MM
, and dd
represent the year, month, and day respectively and HH
, mm
, ss
,
and if applicable, SSS
represent the hour, month, second and milliseconds respsectively.
'T'
and Z
are constants.
public CreateFeatureGroupRequest withEventTimeFeatureName(String eventTimeFeatureName)
The name of the feature that stores the EventTime
of a Record
in a
FeatureGroup
.
An EventTime
is a point in time when a new event occurs that corresponds to the creation or update
of a Record
in a FeatureGroup
. All Records
in the
FeatureGroup
must have a corresponding EventTime
.
An EventTime
can be a String
or Fractional
.
Fractional
: EventTime
feature values must be a Unix timestamp in seconds.
String
: EventTime
feature values must be an ISO-8601 string in the format. The
following formats are supported yyyy-MM-dd'T'HH:mm:ssZ
and yyyy-MM-dd'T'HH:mm:ss.SSSZ
where yyyy
, MM
, and dd
represent the year, month, and day respectively and
HH
, mm
, ss
, and if applicable, SSS
represent the hour, month,
second and milliseconds respsectively. 'T'
and Z
are constants.
eventTimeFeatureName
- The name of the feature that stores the EventTime
of a Record
in a
FeatureGroup
.
An EventTime
is a point in time when a new event occurs that corresponds to the creation or
update of a Record
in a FeatureGroup
. All Records
in the
FeatureGroup
must have a corresponding EventTime
.
An EventTime
can be a String
or Fractional
.
Fractional
: EventTime
feature values must be a Unix timestamp in seconds.
String
: EventTime
feature values must be an ISO-8601 string in the format. The
following formats are supported yyyy-MM-dd'T'HH:mm:ssZ
and
yyyy-MM-dd'T'HH:mm:ss.SSSZ
where yyyy
, MM
, and dd
represent the year, month, and day respectively and HH
, mm
, ss
, and
if applicable, SSS
represent the hour, month, second and milliseconds respsectively.
'T'
and Z
are constants.
public List<FeatureDefinition> getFeatureDefinitions()
A list of Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
,
api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
,
write_time
, api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
public void setFeatureDefinitions(Collection<FeatureDefinition> featureDefinitions)
A list of Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
,
api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
featureDefinitions
- A list of Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
public CreateFeatureGroupRequest withFeatureDefinitions(FeatureDefinition... featureDefinitions)
A list of Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
,
api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
NOTE: This method appends the values to the existing list (if any). Use
setFeatureDefinitions(java.util.Collection)
or withFeatureDefinitions(java.util.Collection)
if
you want to override the existing values.
featureDefinitions
- A list of Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
public CreateFeatureGroupRequest withFeatureDefinitions(Collection<FeatureDefinition> featureDefinitions)
A list of Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
,
api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
featureDefinitions
- A list of Feature
names and types. Name
and Type
is compulsory per
Feature
.
Valid feature FeatureType
s are Integral
, Fractional
and
String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
public void setOnlineStoreConfig(OnlineStoreConfig onlineStoreConfig)
You can turn the OnlineStore
on or off by specifying True
for the
EnableOnlineStore
flag in OnlineStoreConfig
; the default value is False
.
You can also include an AWS KMS key ID (KMSKeyId
) for at-rest encryption of the
OnlineStore
.
onlineStoreConfig
- You can turn the OnlineStore
on or off by specifying True
for the
EnableOnlineStore
flag in OnlineStoreConfig
; the default value is
False
.
You can also include an AWS KMS key ID (KMSKeyId
) for at-rest encryption of the
OnlineStore
.
public OnlineStoreConfig getOnlineStoreConfig()
You can turn the OnlineStore
on or off by specifying True
for the
EnableOnlineStore
flag in OnlineStoreConfig
; the default value is False
.
You can also include an AWS KMS key ID (KMSKeyId
) for at-rest encryption of the
OnlineStore
.
OnlineStore
on or off by specifying True
for the
EnableOnlineStore
flag in OnlineStoreConfig
; the default value is
False
.
You can also include an AWS KMS key ID (KMSKeyId
) for at-rest encryption of the
OnlineStore
.
public CreateFeatureGroupRequest withOnlineStoreConfig(OnlineStoreConfig onlineStoreConfig)
You can turn the OnlineStore
on or off by specifying True
for the
EnableOnlineStore
flag in OnlineStoreConfig
; the default value is False
.
You can also include an AWS KMS key ID (KMSKeyId
) for at-rest encryption of the
OnlineStore
.
onlineStoreConfig
- You can turn the OnlineStore
on or off by specifying True
for the
EnableOnlineStore
flag in OnlineStoreConfig
; the default value is
False
.
You can also include an AWS KMS key ID (KMSKeyId
) for at-rest encryption of the
OnlineStore
.
public void setOfflineStoreConfig(OfflineStoreConfig offlineStoreConfig)
Use this to configure an OfflineFeatureStore
. This parameter allows you to specify:
The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore
.
A configuration for an AWS Glue or AWS Hive data cataolgue.
An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore
.
To learn more about this parameter, see OfflineStoreConfig.
offlineStoreConfig
- Use this to configure an OfflineFeatureStore
. This parameter allows you to specify:
The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore
.
A configuration for an AWS Glue or AWS Hive data cataolgue.
An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore
.
To learn more about this parameter, see OfflineStoreConfig.
public OfflineStoreConfig getOfflineStoreConfig()
Use this to configure an OfflineFeatureStore
. This parameter allows you to specify:
The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore
.
A configuration for an AWS Glue or AWS Hive data cataolgue.
An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore
.
To learn more about this parameter, see OfflineStoreConfig.
OfflineFeatureStore
. This parameter allows you to specify:
The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore
.
A configuration for an AWS Glue or AWS Hive data cataolgue.
An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore
.
To learn more about this parameter, see OfflineStoreConfig.
public CreateFeatureGroupRequest withOfflineStoreConfig(OfflineStoreConfig offlineStoreConfig)
Use this to configure an OfflineFeatureStore
. This parameter allows you to specify:
The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore
.
A configuration for an AWS Glue or AWS Hive data cataolgue.
An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore
.
To learn more about this parameter, see OfflineStoreConfig.
offlineStoreConfig
- Use this to configure an OfflineFeatureStore
. This parameter allows you to specify:
The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore
.
A configuration for an AWS Glue or AWS Hive data cataolgue.
An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore
.
To learn more about this parameter, see OfflineStoreConfig.
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
if an OfflineStoreConfig
is provided.
roleArn
- The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
OfflineStore
if an OfflineStoreConfig
is provided.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
if an OfflineStoreConfig
is provided.
OfflineStore
if an OfflineStoreConfig
is provided.public CreateFeatureGroupRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
if an OfflineStoreConfig
is provided.
roleArn
- The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
OfflineStore
if an OfflineStoreConfig
is provided.public void setDescription(String description)
A free-form description of a FeatureGroup
.
description
- A free-form description of a FeatureGroup
.public String getDescription()
A free-form description of a FeatureGroup
.
FeatureGroup
.public CreateFeatureGroupRequest withDescription(String description)
A free-form description of a FeatureGroup
.
description
- A free-form description of a FeatureGroup
.public List<Tag> getTags()
Tags used to identify Features
in each FeatureGroup
.
Features
in each FeatureGroup
.public void setTags(Collection<Tag> tags)
Tags used to identify Features
in each FeatureGroup
.
tags
- Tags used to identify Features
in each FeatureGroup
.public CreateFeatureGroupRequest withTags(Tag... tags)
Tags used to identify Features
in each FeatureGroup
.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags used to identify Features
in each FeatureGroup
.public CreateFeatureGroupRequest withTags(Collection<Tag> tags)
Tags used to identify Features
in each FeatureGroup
.
tags
- Tags used to identify Features
in each FeatureGroup
.public String toString()
toString
in class Object
Object.toString()
public CreateFeatureGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()