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