Package com.oracle.bmc.dns.model
Class TsigKeySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.TsigKeySummary.Builder
-
- Enclosing class:
- TsigKeySummary
public static class TsigKeySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TsigKeySummary.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.TsigKeySummary
build()
TsigKeySummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the TSIG key.TsigKeySummary.Builder
copy(TsigKeySummary model)
TsigKeySummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.TsigKeySummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.TsigKeySummary.Builder
id(String id)
The OCID of the resource.TsigKeySummary.Builder
lifecycleState(TsigKeySummary.LifecycleState lifecycleState)
The current state of the resource.TsigKeySummary.Builder
name(String name)
A globally unique domain name identifying the key for a given pair of hosts.TsigKeySummary.Builder
self(String self)
The canonical absolute URL of the resource.TsigKeySummary.Builder
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
algorithm
public TsigKeySummary.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 TsigKeySummary.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 TsigKeySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the TSIG key.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public TsigKeySummary.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 TsigKeySummary.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
-
id
public TsigKeySummary.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
self
public TsigKeySummary.Builder self(String self)
The canonical absolute URL of the resource.- Parameters:
self
- the value to set- Returns:
- this builder
-
timeCreated
public TsigKeySummary.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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public TsigKeySummary.Builder lifecycleState(TsigKeySummary.LifecycleState lifecycleState)
The current state of the resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
build
public TsigKeySummary build()
-
copy
public TsigKeySummary.Builder copy(TsigKeySummary model)
-
-