Class CfnConfigPropsMixin.S3RecordingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.groundstation.CfnConfigPropsMixin.S3RecordingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigPropsMixin.S3RecordingConfigProperty>
- Enclosing interface:
CfnConfigPropsMixin.S3RecordingConfigProperty
@Stability(Stable)
public static final class CfnConfigPropsMixin.S3RecordingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigPropsMixin.S3RecordingConfigProperty>
A builder for
CfnConfigPropsMixin.S3RecordingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getBucketArn()bucketArn(IBucketRef bucketArn) Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getBucketArn()build()Builds the configured instance.Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getPrefix()Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getRoleArn()Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnConfigPropsMixin.S3RecordingConfigProperty.Builder bucketArn(String bucketArn) Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getBucketArn()- Parameters:
bucketArn- S3 Bucket where the data is written. The name of the S3 Bucket provided must begin withaws-groundstation.- Returns:
this
-
bucketArn
@Stability(Stable) public CfnConfigPropsMixin.S3RecordingConfigProperty.Builder bucketArn(IBucketRef bucketArn) Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getBucketArn()- Parameters:
bucketArn- S3 Bucket where the data is written. The name of the S3 Bucket provided must begin withaws-groundstation.- Returns:
this
-
prefix
@Stability(Stable) public CfnConfigPropsMixin.S3RecordingConfigProperty.Builder prefix(String prefix) Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getPrefix()- Parameters:
prefix- The prefix of the S3 data object. If you choose to use any optional keys for substitution, these values will be replaced with the corresponding information from your contact details. For example, a prefix of{satellite_id}/{year}/{month}/{day}/will replaced withfake_satellite_id/2021/01/10/Optional keys for substitution :
{satellite_id}|{config-name}|{config-id}|{year}|{month}|{day}- Returns:
this
-
roleArn
@Stability(Stable) public CfnConfigPropsMixin.S3RecordingConfigProperty.Builder roleArn(String roleArn) Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getRoleArn()- Parameters:
roleArn- Defines the ARN of the role assumed for putting archives to S3.- Returns:
this
-
roleArn
@Stability(Stable) public CfnConfigPropsMixin.S3RecordingConfigProperty.Builder roleArn(IRoleRef roleArn) Sets the value ofCfnConfigPropsMixin.S3RecordingConfigProperty.getRoleArn()- Parameters:
roleArn- Defines the ARN of the role assumed for putting archives to S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigPropsMixin.S3RecordingConfigProperty>- Returns:
- a new instance of
CfnConfigPropsMixin.S3RecordingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-