@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T09:30:49.708Z") @Stability(value=Stable) public class CfnDataset extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.personalize.*; Object dataSource; CfnDataset cfnDataset = CfnDataset.Builder.create(this, "MyCfnDataset") .datasetGroupArn("datasetGroupArn") .datasetType("datasetType") .name("name") .schemaArn("schemaArn") // the properties below are optional .datasetImportJob(DatasetImportJobProperty.builder() .datasetArn("datasetArn") .datasetImportJobArn("datasetImportJobArn") .dataSource(dataSource) .jobName("jobName") .roleArn("roleArn") .build()) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnDataset.Builder
A fluent builder for
CfnDataset . |
static interface |
CfnDataset.DatasetImportJobProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Modifier and Type | Field and Description |
---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnDataset(software.constructs.Construct scope,
String id,
CfnDatasetProps props)
Create a new `AWS::Personalize::Dataset`.
|
protected |
CfnDataset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDataset(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
String |
getAttrDatasetArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDatasetGroupArn()
`AWS::Personalize::Dataset.DatasetGroupArn`.
|
Object |
getDatasetImportJob()
`AWS::Personalize::Dataset.DatasetImportJob`.
|
String |
getDatasetType()
`AWS::Personalize::Dataset.DatasetType`.
|
String |
getName()
`AWS::Personalize::Dataset.Name`.
|
String |
getSchemaArn()
`AWS::Personalize::Dataset.SchemaArn`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDatasetGroupArn(String value)
`AWS::Personalize::Dataset.DatasetGroupArn`.
|
void |
setDatasetImportJob(CfnDataset.DatasetImportJobProperty value)
`AWS::Personalize::Dataset.DatasetImportJob`.
|
void |
setDatasetImportJob(IResolvable value)
`AWS::Personalize::Dataset.DatasetImportJob`.
|
void |
setDatasetType(String value)
`AWS::Personalize::Dataset.DatasetType`.
|
void |
setName(String value)
`AWS::Personalize::Dataset.Name`.
|
void |
setSchemaArn(String value)
`AWS::Personalize::Dataset.SchemaArn`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDataset(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnDataset(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDatasetProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.@Stability(value=Stable) public void inspect(@NotNull TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=Stable) @NotNull public String getAttrDatasetArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=Stable) @NotNull public String getDatasetGroupArn()
@Stability(value=Stable) public void setDatasetGroupArn(@NotNull String value)
@Stability(value=Stable) @NotNull public String getDatasetType()
@Stability(value=Stable) public void setDatasetType(@NotNull String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable) public void setName(@NotNull String value)
@Stability(value=Stable) @NotNull public String getSchemaArn()
@Stability(value=Stable) public void setSchemaArn(@NotNull String value)
@Stability(value=Stable) @Nullable public Object getDatasetImportJob()
@Stability(value=Stable) public void setDatasetImportJob(@Nullable CfnDataset.DatasetImportJobProperty value)
@Stability(value=Stable) public void setDatasetImportJob(@Nullable IResolvable value)
Copyright © 2022. All rights reserved.