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