Class CfnOdbNetwork.S3AccessProperty.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnOdbNetwork.S3AccessProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOdbNetwork.S3AccessProperty>
- Enclosing interface:
CfnOdbNetwork.S3AccessProperty
@Stability(Stable)
public static final class CfnOdbNetwork.S3AccessProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOdbNetwork.S3AccessProperty>
A builder for
CfnOdbNetwork.S3AccessProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainName
(String domainName) Sets the value ofCfnOdbNetwork.S3AccessProperty.getDomainName()
ipv4Addresses
(List<String> ipv4Addresses) Sets the value ofCfnOdbNetwork.S3AccessProperty.getIpv4Addresses()
s3PolicyDocument
(String s3PolicyDocument) Sets the value ofCfnOdbNetwork.S3AccessProperty.getS3PolicyDocument()
Sets the value ofCfnOdbNetwork.S3AccessProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnOdbNetwork.S3AccessProperty.getDomainName()
- Parameters:
domainName
- The domain name for the Amazon S3 access.- Returns:
this
-
ipv4Addresses
@Stability(Stable) public CfnOdbNetwork.S3AccessProperty.Builder ipv4Addresses(List<String> ipv4Addresses) Sets the value ofCfnOdbNetwork.S3AccessProperty.getIpv4Addresses()
- Parameters:
ipv4Addresses
- The IPv4 addresses for the Amazon S3 access.- Returns:
this
-
s3PolicyDocument
@Stability(Stable) public CfnOdbNetwork.S3AccessProperty.Builder s3PolicyDocument(String s3PolicyDocument) Sets the value ofCfnOdbNetwork.S3AccessProperty.getS3PolicyDocument()
- Parameters:
s3PolicyDocument
- The endpoint policy for the Amazon S3 access.- Returns:
this
-
status
Sets the value ofCfnOdbNetwork.S3AccessProperty.getStatus()
- Parameters:
status
- The status of the Amazon S3 access. Valid Values:enabled | disabled
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOdbNetwork.S3AccessProperty>
- Returns:
- a new instance of
CfnOdbNetwork.S3AccessProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-