public static class PreauthenticatedRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PreauthenticatedRequest.Builder |
accessType(PreauthenticatedRequest.AccessType accessType)
The operation that can be performed on this resource.
|
PreauthenticatedRequest.Builder |
accessUri(String accessUri)
The URI to embed in the URL when using the pre-authenticated request.
|
PreauthenticatedRequest.Builder |
bucketListingAction(PreauthenticatedRequest.BucketListingAction bucketListingAction)
Specifies whether a list operation is allowed on a PAR with accessType “AnyObjectRead” or
“AnyObjectReadWrite”.
|
PreauthenticatedRequest |
build() |
PreauthenticatedRequest.Builder |
copy(PreauthenticatedRequest model) |
PreauthenticatedRequest.Builder |
fullPath(String fullPath)
The full Path for the object.
|
PreauthenticatedRequest.Builder |
id(String id)
The unique identifier to use when directly addressing the pre-authenticated request.
|
PreauthenticatedRequest.Builder |
name(String name)
The user-provided name of the pre-authenticated request.
|
PreauthenticatedRequest.Builder |
objectName(String objectName)
The name of the object that is being granted access to by the pre-authenticated request.
|
PreauthenticatedRequest.Builder |
timeCreated(Date timeCreated)
The date when the pre-authenticated request was created as per specification RFC
3339.
|
PreauthenticatedRequest.Builder |
timeExpires(Date timeExpires)
The expiration date for the pre-authenticated request as per RFC
3339.
|
public PreauthenticatedRequest.Builder id(String id)
The unique identifier to use when directly addressing the pre-authenticated request.
id
- the value to setpublic PreauthenticatedRequest.Builder name(String name)
The user-provided name of the pre-authenticated request.
name
- the value to setpublic PreauthenticatedRequest.Builder accessUri(String accessUri)
The URI to embed in the URL when using the pre-authenticated request.
accessUri
- the value to setpublic 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
objectName
- the value to setpublic 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.
bucketListingAction
- the value to setpublic PreauthenticatedRequest.Builder accessType(PreauthenticatedRequest.AccessType accessType)
The operation that can be performed on this resource.
accessType
- the value to setpublic 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.
timeExpires
- the value to setpublic PreauthenticatedRequest.Builder timeCreated(Date timeCreated)
The date when the pre-authenticated request was created as per specification RFC 3339.
timeCreated
- the value to setpublic PreauthenticatedRequest.Builder fullPath(String fullPath)
The full Path for the object.
fullPath
- the value to setpublic PreauthenticatedRequest build()
public PreauthenticatedRequest.Builder copy(PreauthenticatedRequest model)
Copyright © 2016–2024. All rights reserved.