Package com.oracle.bmc.dns.responses
Class GetSteeringPolicyAttachmentResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.responses.GetSteeringPolicyAttachmentResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetSteeringPolicyAttachmentResponse>
- Enclosing class:
- GetSteeringPolicyAttachmentResponse
public static class GetSteeringPolicyAttachmentResponse.Builder extends Object implements BmcResponse.Builder<GetSteeringPolicyAttachmentResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
__httpStatusCode__
public GetSteeringPolicyAttachmentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<GetSteeringPolicyAttachmentResponse>
-
headers
public GetSteeringPolicyAttachmentResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<GetSteeringPolicyAttachmentResponse>
-
opcRequestId
public GetSteeringPolicyAttachmentResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
eTag
public GetSteeringPolicyAttachmentResponse.Builder eTag(String eTag)
The current version of the resource, ending with a representation-specific suffix.This value may be used in If-Match and If-None-Match headers for later requests of the same resource.
- Parameters:
eTag
- the value to set- Returns:
- this builder
-
steeringPolicyAttachment
public GetSteeringPolicyAttachmentResponse.Builder steeringPolicyAttachment(SteeringPolicyAttachment steeringPolicyAttachment)
The returned SteeringPolicyAttachment instance, or null ifGetSteeringPolicyAttachmentResponse.isNotModified()
is true.- Parameters:
steeringPolicyAttachment
- the value to set- Returns:
- this builder
-
isNotModified
public GetSteeringPolicyAttachmentResponse.Builder isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’).
- Specified by:
isNotModified
in interfaceBmcResponse.Builder<GetSteeringPolicyAttachmentResponse>
- Parameters:
true
- if the object was not modified
-
copy
public GetSteeringPolicyAttachmentResponse.Builder copy(GetSteeringPolicyAttachmentResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<GetSteeringPolicyAttachmentResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetSteeringPolicyAttachmentResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<GetSteeringPolicyAttachmentResponse>
- Returns:
- the response object
-
-