Class IntegrationConnectorsConnectionDestinationConfigDestination.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integration_connectors_connection.IntegrationConnectorsConnectionDestinationConfigDestination.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationConnectorsConnectionDestinationConfigDestination>
- Enclosing interface:
- IntegrationConnectorsConnectionDestinationConfigDestination
@Stability(Stable) public static final class IntegrationConnectorsConnectionDestinationConfigDestination.Builder extends Object implements software.amazon.jsii.Builder<IntegrationConnectorsConnectionDestinationConfigDestination>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationConnectorsConnectionDestinationConfigDestinationbuild()Builds the configured instance.IntegrationConnectorsConnectionDestinationConfigDestination.Builderhost(String host)Sets the value ofIntegrationConnectorsConnectionDestinationConfigDestination.getHost()IntegrationConnectorsConnectionDestinationConfigDestination.Builderport(Number port)Sets the value ofIntegrationConnectorsConnectionDestinationConfigDestination.getPort()IntegrationConnectorsConnectionDestinationConfigDestination.BuilderserviceAttachment(String serviceAttachment)
-
-
-
Method Detail
-
host
@Stability(Stable) public IntegrationConnectorsConnectionDestinationConfigDestination.Builder host(String host)
Sets the value ofIntegrationConnectorsConnectionDestinationConfigDestination.getHost()- Parameters:
host- For publicly routable host. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#host IntegrationConnectorsConnection#host}- Returns:
this
-
port
@Stability(Stable) public IntegrationConnectorsConnectionDestinationConfigDestination.Builder port(Number port)
Sets the value ofIntegrationConnectorsConnectionDestinationConfigDestination.getPort()- Parameters:
port- The port is the target port number that is accepted by the destination. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#port IntegrationConnectorsConnection#port}- Returns:
this
-
serviceAttachment
@Stability(Stable) public IntegrationConnectorsConnectionDestinationConfigDestination.Builder serviceAttachment(String serviceAttachment)
Sets the value ofIntegrationConnectorsConnectionDestinationConfigDestination.getServiceAttachment()- Parameters:
serviceAttachment- PSC service attachments. Format: projects/* /regions/* /serviceAttachments/*. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#service_attachment IntegrationConnectorsConnection#service_attachment} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.- Returns:
this
-
build
@Stability(Stable) public IntegrationConnectorsConnectionDestinationConfigDestination build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationConnectorsConnectionDestinationConfigDestination>- Returns:
- a new instance of
IntegrationConnectorsConnectionDestinationConfigDestination - Throws:
NullPointerException- if any required attribute was not provided
-
-