public static final class CfnConnector.S3LogDeliveryProperty.Builder
extends java.lang.Object
CfnConnector.S3LogDeliveryProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConnector.S3LogDeliveryProperty.Builder |
bucket(java.lang.String bucket)
Sets the value of
CfnConnector.S3LogDeliveryProperty.getBucket() |
CfnConnector.S3LogDeliveryProperty |
build()
Builds the configured instance.
|
CfnConnector.S3LogDeliveryProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnConnector.S3LogDeliveryProperty.getEnabled() |
CfnConnector.S3LogDeliveryProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnConnector.S3LogDeliveryProperty.getEnabled() |
CfnConnector.S3LogDeliveryProperty.Builder |
prefix(java.lang.String prefix)
Sets the value of
CfnConnector.S3LogDeliveryProperty.getPrefix() |
public CfnConnector.S3LogDeliveryProperty.Builder enabled(java.lang.Boolean enabled)
CfnConnector.S3LogDeliveryProperty.getEnabled()
enabled
- Specifies whether connector logs get sent to the specified Amazon S3 destination. This parameter is required.this
public CfnConnector.S3LogDeliveryProperty.Builder enabled(IResolvable enabled)
CfnConnector.S3LogDeliveryProperty.getEnabled()
enabled
- Specifies whether connector logs get sent to the specified Amazon S3 destination. This parameter is required.this
public CfnConnector.S3LogDeliveryProperty.Builder bucket(java.lang.String bucket)
CfnConnector.S3LogDeliveryProperty.getBucket()
bucket
- The name of the S3 bucket that is the destination for log delivery.this
public CfnConnector.S3LogDeliveryProperty.Builder prefix(java.lang.String prefix)
CfnConnector.S3LogDeliveryProperty.getPrefix()
prefix
- The S3 prefix that is the destination for log delivery.this
public CfnConnector.S3LogDeliveryProperty build()
CfnConnector.S3LogDeliveryProperty
java.lang.NullPointerException
- if any required attribute was not provided