Class CfnConfig.S3RecordingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.groundstation.CfnConfig.S3RecordingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfig.S3RecordingConfigProperty>
- Enclosing interface:
CfnConfig.S3RecordingConfigProperty
@Stability(Stable)
public static final class CfnConfig.S3RecordingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfig.S3RecordingConfigProperty>
A builder for
CfnConfig.S3RecordingConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConfig.S3RecordingConfigProperty.getBucketArn()
build()
Builds the configured instance.Sets the value ofCfnConfig.S3RecordingConfigProperty.getPrefix()
Sets the value ofCfnConfig.S3RecordingConfigProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
Sets the value ofCfnConfig.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
Sets the value ofCfnConfig.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
Sets the value ofCfnConfig.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfig.S3RecordingConfigProperty>
- Returns:
- a new instance of
CfnConfig.S3RecordingConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-