Class PreauthenticatedRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.model.PreauthenticatedRequest.Builder
 
- 
- Enclosing class:
- PreauthenticatedRequest
 
 public static class PreauthenticatedRequest.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PreauthenticatedRequest.BuilderaccessType(PreauthenticatedRequest.AccessType accessType)The operation that can be performed on this resource.PreauthenticatedRequest.BuilderaccessUri(String accessUri)The URI to embed in the URL when using the pre-authenticated request.PreauthenticatedRequest.BuilderbucketListingAction(PreauthenticatedRequest.BucketListingAction bucketListingAction)Specifies whether a list operation is allowed on a PAR with accessType “AnyObjectRead” or “AnyObjectReadWrite”.PreauthenticatedRequestbuild()PreauthenticatedRequest.Buildercopy(PreauthenticatedRequest model)PreauthenticatedRequest.BuilderfullPath(String fullPath)The full Path for the object.PreauthenticatedRequest.Builderid(String id)The unique identifier to use when directly addressing the pre-authenticated request.PreauthenticatedRequest.Buildername(String name)The user-provided name of the pre-authenticated request.PreauthenticatedRequest.BuilderobjectName(String objectName)The name of the object that is being granted access to by the pre-authenticated request.PreauthenticatedRequest.BuildertimeCreated(Date timeCreated)The date when the pre-authenticated request was created as per specification RFC 3339.PreauthenticatedRequest.BuildertimeExpires(Date timeExpires)The expiration date for the pre-authenticated request as per RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic PreauthenticatedRequest.Builder id(String id) The unique identifier to use when directly addressing the pre-authenticated request.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic PreauthenticatedRequest.Builder name(String name) The user-provided name of the pre-authenticated request.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
accessUripublic PreauthenticatedRequest.Builder accessUri(String accessUri) The URI to embed in the URL when using the pre-authenticated request.- Parameters:
- accessUri- the value to set
- Returns:
- this builder
 
 - 
objectNamepublic PreauthenticatedRequest.Builder objectName(String objectName) The name of the object that is being granted access to by the pre-authenticated request.Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket. Example: test/object1.log - Parameters:
- objectName- the value to set
- Returns:
- this builder
 
 - 
bucketListingActionpublic PreauthenticatedRequest.Builder bucketListingAction(PreauthenticatedRequest.BucketListingAction bucketListingAction) Specifies whether a list operation is allowed on a PAR with accessType “AnyObjectRead” or “AnyObjectReadWrite”.Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation. - Parameters:
- bucketListingAction- the value to set
- Returns:
- this builder
 
 - 
accessTypepublic PreauthenticatedRequest.Builder accessType(PreauthenticatedRequest.AccessType accessType) The operation that can be performed on this resource.- Parameters:
- accessType- the value to set
- Returns:
- this builder
 
 - 
timeExpirespublic PreauthenticatedRequest.Builder timeExpires(Date timeExpires) The expiration date for the pre-authenticated request as per RFC 3339.After this date the pre-authenticated request will no longer be valid. - Parameters:
- timeExpires- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PreauthenticatedRequest.Builder timeCreated(Date timeCreated) The date when the pre-authenticated request was created as per specification RFC 3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
fullPathpublic PreauthenticatedRequest.Builder fullPath(String fullPath) The full Path for the object.- Parameters:
- fullPath- the value to set
- Returns:
- this builder
 
 - 
buildpublic PreauthenticatedRequest build() 
 - 
copypublic PreauthenticatedRequest.Builder copy(PreauthenticatedRequest model) 
 
- 
 
-