Class StorageObjectRequest
- java.lang.Object
-
- fr.gouv.vitam.storage.driver.model.StorageRequest
-
- fr.gouv.vitam.storage.driver.model.StorageObjectRequest
-
- Direct Known Subclasses:
StoragePutRequest
,StorageRemoveRequest
public class StorageObjectRequest extends StorageRequest
Holds minimal needed parameters that may be needed to send a request on an object on the distant storage offer : object informations.
-
-
Constructor Summary
Constructors Constructor Description StorageObjectRequest(java.lang.Integer tenantId, java.lang.String guid)
StorageObjectRequest(java.lang.Integer tenantId, java.lang.String type, java.lang.String guid)
Initialize the needed parameters for request on an object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGuid()
Gets the guidjava.lang.String
toString()
-
Methods inherited from class fr.gouv.vitam.storage.driver.model.StorageRequest
getTenantId, getType
-
-
-
-
Constructor Detail
-
StorageObjectRequest
public StorageObjectRequest(java.lang.Integer tenantId, java.lang.String type, java.lang.String guid)
Initialize the needed parameters for request on an object.- Parameters:
tenantId
- The request tenantIdtype
- the type The request typeguid
- the object guid
-
StorageObjectRequest
public StorageObjectRequest(java.lang.Integer tenantId, java.lang.String guid)
-
-
Method Detail
-
getGuid
public java.lang.String getGuid()
Gets the guid- Returns:
- the guid
-
toString
public java.lang.String toString()
- Overrides:
toString
in classStorageRequest
-
-