Class MacsecKeyAssociationArgs.Builder

  • Enclosing class:
    MacsecKeyAssociationArgs

    public static final class MacsecKeyAssociationArgs.Builder
    extends java.lang.Object
    • Method Detail

      • cak

        public MacsecKeyAssociationArgs.Builder cak​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> cak)
        Parameters:
        cak - MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `ckn` or `cknWo` unless `cakWo` is configured. Conflicts with `cakWo`. Changing this argument replaces the association.
        Returns:
        builder
      • cak

        public MacsecKeyAssociationArgs.Builder cak​(java.lang.String cak)
        Parameters:
        cak - MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `ckn` or `cknWo` unless `cakWo` is configured. Conflicts with `cakWo`. Changing this argument replaces the association.
        Returns:
        builder
      • cakWo

        public MacsecKeyAssociationArgs.Builder cakWo​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> cakWo)
        Parameters:
        cakWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cakWoVersion` and either `ckn` or `cknWo`. Conflicts with `cak` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cakWo

        public MacsecKeyAssociationArgs.Builder cakWo​(java.lang.String cakWo)
        Parameters:
        cakWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cakWoVersion` and either `ckn` or `cknWo`. Conflicts with `cak` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cakWoVersion

        public MacsecKeyAssociationArgs.Builder cakWoVersion​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> cakWoVersion)
        Parameters:
        cakWoVersion - Positive integer used to trigger replacement when `cakWo` changes. Required with `cakWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • cakWoVersion

        public MacsecKeyAssociationArgs.Builder cakWoVersion​(java.lang.Integer cakWoVersion)
        Parameters:
        cakWoVersion - Positive integer used to trigger replacement when `cakWo` changes. Required with `cakWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • ckn

        public MacsecKeyAssociationArgs.Builder ckn​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> ckn)
        Parameters:
        ckn - MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `cak` or `cakWo` unless `cknWo` is configured. Conflicts with `cknWo`. Changing this argument replaces the association.
        Returns:
        builder
      • ckn

        public MacsecKeyAssociationArgs.Builder ckn​(java.lang.String ckn)
        Parameters:
        ckn - MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `cak` or `cakWo` unless `cknWo` is configured. Conflicts with `cknWo`. Changing this argument replaces the association.
        Returns:
        builder
      • cknWo

        public MacsecKeyAssociationArgs.Builder cknWo​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> cknWo)
        Parameters:
        cknWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cknWoVersion` and either `cak` or `cakWo`. Conflicts with `ckn` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cknWo

        public MacsecKeyAssociationArgs.Builder cknWo​(java.lang.String cknWo)
        Parameters:
        cknWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cknWoVersion` and either `cak` or `cakWo`. Conflicts with `ckn` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cknWoVersion

        public MacsecKeyAssociationArgs.Builder cknWoVersion​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> cknWoVersion)
        Parameters:
        cknWoVersion - Positive integer used to trigger replacement when `cknWo` changes. Required with `cknWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • cknWoVersion

        public MacsecKeyAssociationArgs.Builder cknWoVersion​(java.lang.Integer cknWoVersion)
        Parameters:
        cknWoVersion - Positive integer used to trigger replacement when `cknWo` changes. Required with `cknWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • connectionId

        public MacsecKeyAssociationArgs.Builder connectionId​(com.pulumi.core.Output<java.lang.String> connectionId)
        Parameters:
        connectionId - ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state. The following arguments are optional:
        Returns:
        builder
      • connectionId

        public MacsecKeyAssociationArgs.Builder connectionId​(java.lang.String connectionId)
        Parameters:
        connectionId - ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state. The following arguments are optional:
        Returns:
        builder
      • region

        public MacsecKeyAssociationArgs.Builder region​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public MacsecKeyAssociationArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • secretArn

        public MacsecKeyAssociationArgs.Builder secretArn​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> secretArn)
        Parameters:
        secretArn - ARN of the MAC Security (MACsec) secret key to associate with the dedicated connection. > **Note:** Supply either a CAK/CKN pair (using regular or write-only arguments) or `secretArn`. Do not combine key arguments with `secretArn`.
        Returns:
        builder
      • secretArn

        public MacsecKeyAssociationArgs.Builder secretArn​(java.lang.String secretArn)
        Parameters:
        secretArn - ARN of the MAC Security (MACsec) secret key to associate with the dedicated connection. > **Note:** Supply either a CAK/CKN pair (using regular or write-only arguments) or `secretArn`. Do not combine key arguments with `secretArn`.
        Returns:
        builder