Class CfnApplication.S3MonitoringConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.S3MonitoringConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.S3MonitoringConfigurationProperty>
- Enclosing interface:
CfnApplication.S3MonitoringConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.S3MonitoringConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.S3MonitoringConfigurationProperty>
A builder for
CfnApplication.S3MonitoringConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encryptionKeyArn
(String encryptionKeyArn) Sets the value ofCfnApplication.S3MonitoringConfigurationProperty.getEncryptionKeyArn()
Sets the value ofCfnApplication.S3MonitoringConfigurationProperty.getLogUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionKeyArn
@Stability(Stable) public CfnApplication.S3MonitoringConfigurationProperty.Builder encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnApplication.S3MonitoringConfigurationProperty.getEncryptionKeyArn()
- Parameters:
encryptionKeyArn
- The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.- Returns:
this
-
logUri
@Stability(Stable) public CfnApplication.S3MonitoringConfigurationProperty.Builder logUri(String logUri) Sets the value ofCfnApplication.S3MonitoringConfigurationProperty.getLogUri()
- Parameters:
logUri
- The Amazon S3 destination URI for log publishing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.S3MonitoringConfigurationProperty>
- Returns:
- a new instance of
CfnApplication.S3MonitoringConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-