Class ConnectionState.Builder

  • Enclosing class:
    ConnectionState

    public static final class ConnectionState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ConnectionState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the connection.
        Returns:
        builder
      • arn

        public ConnectionState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the connection.
        Returns:
        builder
      • awsDevice

        public ConnectionState.Builder awsDevice​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> awsDevice)
        Parameters:
        awsDevice - The Direct Connect endpoint on which the physical connection terminates.
        Returns:
        builder
      • awsDevice

        public ConnectionState.Builder awsDevice​(java.lang.String awsDevice)
        Parameters:
        awsDevice - The Direct Connect endpoint on which the physical connection terminates.
        Returns:
        builder
      • bandwidth

        public ConnectionState.Builder bandwidth​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> bandwidth)
        Parameters:
        bandwidth - The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
        Returns:
        builder
      • bandwidth

        public ConnectionState.Builder bandwidth​(java.lang.String bandwidth)
        Parameters:
        bandwidth - The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
        Returns:
        builder
      • encryptionMode

        public ConnectionState.Builder encryptionMode​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> encryptionMode)
        Parameters:
        encryptionMode - The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `no_encrypt`, `should_encrypt`, and `must_encrypt`.
        Returns:
        builder
      • encryptionMode

        public ConnectionState.Builder encryptionMode​(java.lang.String encryptionMode)
        Parameters:
        encryptionMode - The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `no_encrypt`, `should_encrypt`, and `must_encrypt`.
        Returns:
        builder
      • hasLogicalRedundancy

        public ConnectionState.Builder hasLogicalRedundancy​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> hasLogicalRedundancy)
        Parameters:
        hasLogicalRedundancy - Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
        Returns:
        builder
      • hasLogicalRedundancy

        public ConnectionState.Builder hasLogicalRedundancy​(java.lang.String hasLogicalRedundancy)
        Parameters:
        hasLogicalRedundancy - Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
        Returns:
        builder
      • jumboFrameCapable

        public ConnectionState.Builder jumboFrameCapable​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> jumboFrameCapable)
        Parameters:
        jumboFrameCapable - Boolean value representing if jumbo frames have been enabled for this connection.
        Returns:
        builder
      • jumboFrameCapable

        public ConnectionState.Builder jumboFrameCapable​(java.lang.Boolean jumboFrameCapable)
        Parameters:
        jumboFrameCapable - Boolean value representing if jumbo frames have been enabled for this connection.
        Returns:
        builder
      • location

        public ConnectionState.Builder location​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
        Returns:
        builder
      • location

        public ConnectionState.Builder location​(java.lang.String location)
        Parameters:
        location - The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
        Returns:
        builder
      • macsecCapable

        public ConnectionState.Builder macsecCapable​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> macsecCapable)
        Parameters:
        macsecCapable - Boolean value indicating whether the connection supports MAC Security (MACsec).
        Returns:
        builder
      • macsecCapable

        public ConnectionState.Builder macsecCapable​(java.lang.Boolean macsecCapable)
        Parameters:
        macsecCapable - Boolean value indicating whether the connection supports MAC Security (MACsec).
        Returns:
        builder
      • name

        public ConnectionState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the connection.
        Returns:
        builder
      • name

        public ConnectionState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the connection.
        Returns:
        builder
      • ownerAccountId

        public ConnectionState.Builder ownerAccountId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> ownerAccountId)
        Parameters:
        ownerAccountId - The ID of the AWS account that owns the connection.
        Returns:
        builder
      • ownerAccountId

        public ConnectionState.Builder ownerAccountId​(java.lang.String ownerAccountId)
        Parameters:
        ownerAccountId - The ID of the AWS account that owns the connection.
        Returns:
        builder
      • partnerName

        public ConnectionState.Builder partnerName​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> partnerName)
        Parameters:
        partnerName - The name of the AWS Direct Connect service provider associated with the connection.
        Returns:
        builder
      • partnerName

        public ConnectionState.Builder partnerName​(java.lang.String partnerName)
        Parameters:
        partnerName - The name of the AWS Direct Connect service provider associated with the connection.
        Returns:
        builder
      • portEncryptionStatus

        public ConnectionState.Builder portEncryptionStatus​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> portEncryptionStatus)
        Parameters:
        portEncryptionStatus - The MAC Security (MACsec) port link status of the connection.
        Returns:
        builder
      • portEncryptionStatus

        public ConnectionState.Builder portEncryptionStatus​(java.lang.String portEncryptionStatus)
        Parameters:
        portEncryptionStatus - The MAC Security (MACsec) port link status of the connection.
        Returns:
        builder
      • providerName

        public ConnectionState.Builder providerName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> providerName)
        Parameters:
        providerName - The name of the service provider associated with the connection.
        Returns:
        builder
      • providerName

        public ConnectionState.Builder providerName​(java.lang.String providerName)
        Parameters:
        providerName - The name of the service provider associated with the connection.
        Returns:
        builder
      • requestMacsec

        public ConnectionState.Builder requestMacsec​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> requestMacsec)
        Parameters:
        requestMacsec - Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`. > **NOTE:** Changing the value of `request_macsec` will cause the resource to be destroyed and re-created.
        Returns:
        builder
      • requestMacsec

        public ConnectionState.Builder requestMacsec​(java.lang.Boolean requestMacsec)
        Parameters:
        requestMacsec - Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`. > **NOTE:** Changing the value of `request_macsec` will cause the resource to be destroyed and re-created.
        Returns:
        builder
      • skipDestroy

        public ConnectionState.Builder skipDestroy​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
        Parameters:
        skipDestroy - Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
        Returns:
        builder
      • skipDestroy

        public ConnectionState.Builder skipDestroy​(java.lang.Boolean skipDestroy)
        Parameters:
        skipDestroy - Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
        Returns:
        builder
      • tags

        public ConnectionState.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ConnectionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public ConnectionState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public ConnectionState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • vlanId

        public ConnectionState.Builder vlanId​(@Nullable
                                              com.pulumi.core.Output<java.lang.Integer> vlanId)
        Parameters:
        vlanId - The VLAN ID.
        Returns:
        builder
      • vlanId

        public ConnectionState.Builder vlanId​(java.lang.Integer vlanId)
        Parameters:
        vlanId - The VLAN ID.
        Returns:
        builder