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