Interface CreateVpcConnectionRequest.Builder

    • Method Detail

      • awsAccountId

        CreateVpcConnectionRequest.Builder awsAccountId​(String awsAccountId)

        The Amazon Web Services account ID of the account where you want to create a new VPC connection.

        Parameters:
        awsAccountId - The Amazon Web Services account ID of the account where you want to create a new VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcConnectionId

        CreateVpcConnectionRequest.Builder vpcConnectionId​(String vpcConnectionId)

        The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.

        Parameters:
        vpcConnectionId - The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateVpcConnectionRequest.Builder name​(String name)

        The display name for the VPC connection.

        Parameters:
        name - The display name for the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateVpcConnectionRequest.Builder subnetIds​(Collection<String> subnetIds)

        A list of subnet IDs for the VPC connection.

        Parameters:
        subnetIds - A list of subnet IDs for the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateVpcConnectionRequest.Builder subnetIds​(String... subnetIds)

        A list of subnet IDs for the VPC connection.

        Parameters:
        subnetIds - A list of subnet IDs for the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateVpcConnectionRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        A list of security group IDs for the VPC connection.

        Parameters:
        securityGroupIds - A list of security group IDs for the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateVpcConnectionRequest.Builder securityGroupIds​(String... securityGroupIds)

        A list of security group IDs for the VPC connection.

        Parameters:
        securityGroupIds - A list of security group IDs for the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsResolvers

        CreateVpcConnectionRequest.Builder dnsResolvers​(Collection<String> dnsResolvers)

        A list of IP addresses of DNS resolver endpoints for the VPC connection.

        Parameters:
        dnsResolvers - A list of IP addresses of DNS resolver endpoints for the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsResolvers

        CreateVpcConnectionRequest.Builder dnsResolvers​(String... dnsResolvers)

        A list of IP addresses of DNS resolver endpoints for the VPC connection.

        Parameters:
        dnsResolvers - A list of IP addresses of DNS resolver endpoints for the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CreateVpcConnectionRequest.Builder roleArn​(String roleArn)

        The IAM role to associate with the VPC connection.

        Parameters:
        roleArn - The IAM role to associate with the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVpcConnectionRequest.Builder tags​(Collection<Tag> tags)

        A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.

        Parameters:
        tags - A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVpcConnectionRequest.Builder tags​(Tag... tags)

        A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.

        Parameters:
        tags - A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVpcConnectionRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)