@Stability(value=Stable) public static final class CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty |
build()
Builds the configured instance.
|
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder |
cloudWatchLogsConfiguration(Object cloudWatchLogsConfiguration)
|
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder |
logSchemaVersion(Number logSchemaVersion)
|
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder |
s3Configuration(Object s3Configuration)
|
@Stability(value=Stable) public CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder logSchemaVersion(Number logSchemaVersion)
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.getLogSchemaVersion()logSchemaVersion - The schema version. This parameter is required.
The supported value is 1.this@Stability(value=Stable) public CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder cloudWatchLogsConfiguration(Object cloudWatchLogsConfiguration)
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.getCloudWatchLogsConfiguration()cloudWatchLogsConfiguration - The configuration for experiment logging to Amazon CloudWatch Logs. The supported field is `LogGroupArn` . For example:.
{"LogGroupArn": "aws:arn:logs: *region_name* : *account_id* :log-group: *log_group_name* "}this@Stability(value=Stable) public CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder s3Configuration(Object s3Configuration)
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.getS3Configuration()s3Configuration - The configuration for experiment logging to Amazon S3. The following fields are supported:.
bucketName - The name of the destination bucket.prefix - An optional bucket prefix.For example:
{"BucketName": " *my-s3-bucket* ", "Prefix": " *log-folder* "}
this@Stability(value=Stable) public CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty>CfnExperimentTemplate.ExperimentTemplateLogConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.