Class PreauthenticatedRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.model.PreauthenticatedRequest.Builder
-
- Enclosing class:
- PreauthenticatedRequest
public static class PreauthenticatedRequest.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public 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
-
name
public PreauthenticatedRequest.Builder name(String name)
The user-provided name of the pre-authenticated request.- Parameters:
name- the value to set- Returns:
- this builder
-
accessUri
public 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
-
objectName
public 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
-
bucketListingAction
public 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
-
accessType
public PreauthenticatedRequest.Builder accessType(PreauthenticatedRequest.AccessType accessType)
The operation that can be performed on this resource.- Parameters:
accessType- the value to set- Returns:
- this builder
-
timeExpires
public 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
-
timeCreated
public 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
-
fullPath
public PreauthenticatedRequest.Builder fullPath(String fullPath)
The full Path for the object.- Parameters:
fullPath- the value to set- Returns:
- this builder
-
build
public PreauthenticatedRequest build()
-
copy
public PreauthenticatedRequest.Builder copy(PreauthenticatedRequest model)
-
-