Class DeleteObjectResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.DeleteObjectResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<DeleteObjectResponse>
- Enclosing class:
- DeleteObjectResponse
public static class DeleteObjectResponse.Builder extends Object implements BmcResponse.Builder<DeleteObjectResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteObjectResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
DeleteObjectResponse
build()
Build the response object.DeleteObjectResponse.Builder
copy(DeleteObjectResponse o)
Copy method to populate the builder with values from the given instance.DeleteObjectResponse.Builder
headers(Map<String,List<String>> headers)
DeleteObjectResponse.Builder
isDeleteMarker(Boolean isDeleteMarker)
This is true if the deleted object is a delete marker, otherwise falseDeleteObjectResponse.Builder
lastModified(Date lastModified)
The time the object was deleted, as described in RFC 2616.DeleteObjectResponse.Builder
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.DeleteObjectResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.DeleteObjectResponse.Builder
versionId(String versionId)
The versionId of the delete marker created as a result of the DELETE Object.-
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 DeleteObjectResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<DeleteObjectResponse>
-
headers
public DeleteObjectResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<DeleteObjectResponse>
-
opcClientRequestId
public DeleteObjectResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
opcClientRequestId
- the value to set- Returns:
- this builder
-
opcRequestId
public DeleteObjectResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
lastModified
public DeleteObjectResponse.Builder lastModified(Date lastModified)
The time the object was deleted, as described in RFC 2616.- Parameters:
lastModified
- the value to set- Returns:
- this builder
-
versionId
public DeleteObjectResponse.Builder versionId(String versionId)
The versionId of the delete marker created as a result of the DELETE Object.If the request contains a specific versionId, then this response header will be the same as the requested versionId of the object that was deleted.
- Parameters:
versionId
- the value to set- Returns:
- this builder
-
isDeleteMarker
public DeleteObjectResponse.Builder isDeleteMarker(Boolean isDeleteMarker)
This is true if the deleted object is a delete marker, otherwise false- Parameters:
isDeleteMarker
- the value to set- Returns:
- this builder
-
copy
public DeleteObjectResponse.Builder copy(DeleteObjectResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<DeleteObjectResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public DeleteObjectResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<DeleteObjectResponse>
- Returns:
- the response object
-
-