Package com.oracle.bmc.dns.model
Class SteeringPolicyAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.SteeringPolicyAttachment.Builder
-
- Enclosing class:
- SteeringPolicyAttachment
public static class SteeringPolicyAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SteeringPolicyAttachmentbuild()SteeringPolicyAttachment.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the steering policy attachment.SteeringPolicyAttachment.Buildercopy(SteeringPolicyAttachment model)SteeringPolicyAttachment.BuilderdisplayName(String displayName)A user-friendly name for the steering policy attachment.SteeringPolicyAttachment.BuilderdomainName(String domainName)The attached domain within the attached zone.SteeringPolicyAttachment.Builderid(String id)The OCID of the resource.SteeringPolicyAttachment.BuilderlifecycleState(SteeringPolicyAttachment.LifecycleState lifecycleState)The current state of the resource.SteeringPolicyAttachment.Builderrtypes(List<String> rtypes)The record types covered by the attachment at the domain.SteeringPolicyAttachment.Builderself(String self)The canonical absolute URL of the resource.SteeringPolicyAttachment.BuildersteeringPolicyId(String steeringPolicyId)The OCID of the attached steering policy.SteeringPolicyAttachment.BuildertimeCreated(Date timeCreated)The date and time the resource was created, expressed in RFC 3339 timestamp format.SteeringPolicyAttachment.BuilderzoneId(String zoneId)The OCID of the attached zone.
-
-
-
Method Detail
-
steeringPolicyId
public SteeringPolicyAttachment.Builder steeringPolicyId(String steeringPolicyId)
The OCID of the attached steering policy.- Parameters:
steeringPolicyId- the value to set- Returns:
- this builder
-
zoneId
public SteeringPolicyAttachment.Builder zoneId(String zoneId)
The OCID of the attached zone.- Parameters:
zoneId- the value to set- Returns:
- this builder
-
domainName
public SteeringPolicyAttachment.Builder domainName(String domainName)
The attached domain within the attached zone.- Parameters:
domainName- the value to set- Returns:
- this builder
-
displayName
public SteeringPolicyAttachment.Builder displayName(String displayName)
A user-friendly name for the steering policy attachment.Does not have to be unique and can be changed. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
rtypes
public SteeringPolicyAttachment.Builder rtypes(List<String> rtypes)
The record types covered by the attachment at the domain.The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- Parameters:
rtypes- the value to set- Returns:
- this builder
-
compartmentId
public SteeringPolicyAttachment.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the steering policy attachment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
self
public SteeringPolicyAttachment.Builder self(String self)
The canonical absolute URL of the resource.- Parameters:
self- the value to set- Returns:
- this builder
-
id
public SteeringPolicyAttachment.Builder id(String id)
The OCID of the resource.- Parameters:
id- the value to set- Returns:
- this builder
-
timeCreated
public SteeringPolicyAttachment.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 SteeringPolicyAttachment.Builder lifecycleState(SteeringPolicyAttachment.LifecycleState lifecycleState)
The current state of the resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
build
public SteeringPolicyAttachment build()
-
copy
public SteeringPolicyAttachment.Builder copy(SteeringPolicyAttachment model)
-
-