Class GetTenancyAttachmentResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.governancerulescontrolplane.responses.GetTenancyAttachmentResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetTenancyAttachmentResponse>
- Enclosing class:
- GetTenancyAttachmentResponse
public static class GetTenancyAttachmentResponse.Builder extends Object implements BmcResponse.Builder<GetTenancyAttachmentResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTenancyAttachmentResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetTenancyAttachmentResponsebuild()Build the response object.GetTenancyAttachmentResponse.Buildercopy(GetTenancyAttachmentResponse o)Copy method to populate the builder with values from the given instance.GetTenancyAttachmentResponse.Builderetag(String etag)For optimistic concurrency control.GetTenancyAttachmentResponse.Builderheaders(Map<String,List<String>> headers)GetTenancyAttachmentResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetTenancyAttachmentResponse.BuildertenancyAttachment(TenancyAttachment tenancyAttachment)The returned TenancyAttachment instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public GetTenancyAttachmentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<GetTenancyAttachmentResponse>
-
headers
public GetTenancyAttachmentResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<GetTenancyAttachmentResponse>
-
etag
public GetTenancyAttachmentResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcRequestId
public GetTenancyAttachmentResponse.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
-
tenancyAttachment
public GetTenancyAttachmentResponse.Builder tenancyAttachment(TenancyAttachment tenancyAttachment)
The returned TenancyAttachment instance.- Parameters:
tenancyAttachment- the value to set- Returns:
- this builder
-
copy
public GetTenancyAttachmentResponse.Builder copy(GetTenancyAttachmentResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<GetTenancyAttachmentResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetTenancyAttachmentResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<GetTenancyAttachmentResponse>- Returns:
- the response object
-
-