Class CreateTsigKeyDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • algorithm

        public CreateTsigKeyDetails.Builder algorithm​(String algorithm)
        TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute.

        Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see RFC 4635.

        Parameters:
        algorithm - the value to set
        Returns:
        this builder
      • name

        public CreateTsigKeyDetails.Builder name​(String name)
        A globally unique domain name identifying the key for a given pair of hosts.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateTsigKeyDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the TSIG key.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • secret

        public CreateTsigKeyDetails.Builder secret​(String secret)
        A base64 string encoding the binary shared secret.
        Parameters:
        secret - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateTsigKeyDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        **Example:** {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateTsigKeyDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        **Example:** {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder