Class CfnStorageConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnStorageConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageConfigurationProps>
- Enclosing interface:
CfnStorageConfigurationProps
@Stability(Stable)
public static final class CfnStorageConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageConfigurationProps>
A builder for
CfnStorageConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStorageConfigurationProps.getName()
s3
(IResolvable s3) Sets the value ofCfnStorageConfigurationProps.getS3()
Sets the value ofCfnStorageConfigurationProps.getS3()
Sets the value ofCfnStorageConfigurationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3
Sets the value ofCfnStorageConfigurationProps.getS3()
- Parameters:
s3
- An S3 storage configuration contains information about where recorded video will be stored. This parameter is required. See the S3StorageConfiguration property type for more information.- Returns:
this
-
s3
@Stability(Stable) public CfnStorageConfigurationProps.Builder s3(CfnStorageConfiguration.S3StorageConfigurationProperty s3) Sets the value ofCfnStorageConfigurationProps.getS3()
- Parameters:
s3
- An S3 storage configuration contains information about where recorded video will be stored. This parameter is required. See the S3StorageConfiguration property type for more information.- Returns:
this
-
name
Sets the value ofCfnStorageConfigurationProps.getName()
- Parameters:
name
- Storage cnfiguration name.- Returns:
this
-
tags
Sets the value ofCfnStorageConfigurationProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageConfigurationProps>
- Returns:
- a new instance of
CfnStorageConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-