Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TsigKey.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.
|
TsigKey |
build() |
TsigKey.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the TSIG key.
|
TsigKey.Builder |
copy(TsigKey model) |
TsigKey.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TsigKey.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
TsigKey.Builder |
id(String id)
The OCID of the resource.
|
TsigKey.Builder |
lifecycleState(TsigKey.LifecycleState lifecycleState)
The current state of the resource.
|
TsigKey.Builder |
name(String name)
A globally unique domain name identifying the key for a given pair of hosts.
|
TsigKey.Builder |
secret(String secret)
A base64 string encoding the binary shared secret.
|
TsigKey.Builder |
self(String self)
The canonical absolute URL of the resource.
|
TsigKey.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC 3339 timestamp format.
|
TsigKey.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
|
public TsigKey.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 TsigKey.Builder name(String name)
A globally unique domain name identifying the key for a given pair of hosts.
name
- the value to setpublic TsigKey.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the TSIG key.
compartmentId
- the value to setpublic TsigKey.Builder secret(String secret)
A base64 string encoding the binary shared secret.
secret
- the value to setpublic TsigKey.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 TsigKey.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 TsigKey.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic TsigKey.Builder self(String self)
The canonical absolute URL of the resource.
self
- the value to setpublic TsigKey.Builder timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC 3339 timestamp format.
*Example:** 2016-07-22T17:23:59:60Z
timeCreated
- the value to setpublic TsigKey.Builder lifecycleState(TsigKey.LifecycleState lifecycleState)
The current state of the resource.
lifecycleState
- the value to setpublic TsigKey.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
*Example:** 2016-07-22T17:23:59:60Z
timeUpdated
- the value to setpublic TsigKey build()
public TsigKey.Builder copy(TsigKey model)
Copyright © 2016–2024. All rights reserved.