public static class CreateTsigKeyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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.
|
CreateTsigKeyDetails |
build() |
CreateTsigKeyDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the TSIG key.
|
CreateTsigKeyDetails.Builder |
copy(CreateTsigKeyDetails model) |
CreateTsigKeyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateTsigKeyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateTsigKeyDetails.Builder |
name(String name)
A globally unique domain name identifying the key for a given pair of hosts.
|
CreateTsigKeyDetails.Builder |
secret(String secret)
A base64 string encoding the binary shared secret.
|
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.
algorithm
- the value to setpublic CreateTsigKeyDetails.Builder name(String name)
A globally unique domain name identifying the key for a given pair of hosts.
name
- the value to setpublic CreateTsigKeyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the TSIG key.
compartmentId
- the value to setpublic CreateTsigKeyDetails.Builder secret(String secret)
A base64 string encoding the binary shared secret.
secret
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateTsigKeyDetails build()
public CreateTsigKeyDetails.Builder copy(CreateTsigKeyDetails model)
Copyright © 2016–2024. All rights reserved.