Class PrivateConnectionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.devopsagent.PrivateConnectionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivateConnectionReference>
- Enclosing interface:
PrivateConnectionReference
@Stability(Stable)
public static final class PrivateConnectionReference.Builder
extends Object
implements software.amazon.jsii.Builder<PrivateConnectionReference>
A builder for
PrivateConnectionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.privateConnectionArn(String privateConnectionArn) Sets the value ofPrivateConnectionReference.getPrivateConnectionArn()privateConnectionName(String privateConnectionName) Sets the value ofPrivateConnectionReference.getPrivateConnectionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
privateConnectionArn
@Stability(Stable) public PrivateConnectionReference.Builder privateConnectionArn(String privateConnectionArn) Sets the value ofPrivateConnectionReference.getPrivateConnectionArn()- Parameters:
privateConnectionArn- The ARN of the PrivateConnection resource. This parameter is required.- Returns:
this
-
privateConnectionName
@Stability(Stable) public PrivateConnectionReference.Builder privateConnectionName(String privateConnectionName) Sets the value ofPrivateConnectionReference.getPrivateConnectionName()- Parameters:
privateConnectionName- The Name of the PrivateConnection resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivateConnectionReference>- Returns:
- a new instance of
PrivateConnectionReference - Throws:
NullPointerException- if any required attribute was not provided
-