Class PreauthenticatedRequestSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.model.PreauthenticatedRequestSummary.Builder
 
- 
- Enclosing class:
- PreauthenticatedRequestSummary
 
 public static class PreauthenticatedRequestSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PreauthenticatedRequestSummary.BuilderaccessType(PreauthenticatedRequestSummary.AccessType accessType)The operation that can be performed on this resource.PreauthenticatedRequestSummary.BuilderbucketListingAction(PreauthenticatedRequest.BucketListingAction bucketListingAction)Specifies whether a list operation is allowed on a PAR with accessType “AnyObjectRead” or “AnyObjectReadWrite”.PreauthenticatedRequestSummarybuild()PreauthenticatedRequestSummary.Buildercopy(PreauthenticatedRequestSummary model)PreauthenticatedRequestSummary.Builderid(String id)The unique identifier to use when directly addressing the pre-authenticated request.PreauthenticatedRequestSummary.Buildername(String name)The user-provided name of the pre-authenticated request.PreauthenticatedRequestSummary.BuilderobjectName(String objectName)The name of object that is being granted access to by the pre-authenticated request.PreauthenticatedRequestSummary.BuildertimeCreated(Date timeCreated)The date when the pre-authenticated request was created as per RFC 3339.PreauthenticatedRequestSummary.BuildertimeExpires(Date timeExpires)The expiration date for the pre-authenticated request as per RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic PreauthenticatedRequestSummary.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 PreauthenticatedRequestSummary.Builder name(String name) The user-provided name of the pre-authenticated request.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
objectNamepublic 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. - Parameters:
- objectName- the value to set
- Returns:
- this builder
 
 - 
bucketListingActionpublic 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. - Parameters:
- bucketListingAction- the value to set
- Returns:
- this builder
 
 - 
accessTypepublic PreauthenticatedRequestSummary.Builder accessType(PreauthenticatedRequestSummary.AccessType accessType) The operation that can be performed on this resource.- Parameters:
- accessType- the value to set
- Returns:
- this builder
 
 - 
timeExpirespublic 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. - Parameters:
- timeExpires- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PreauthenticatedRequestSummary.Builder timeCreated(Date timeCreated) The date when the pre-authenticated request was created as per RFC 3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
buildpublic PreauthenticatedRequestSummary build() 
 - 
copypublic PreauthenticatedRequestSummary.Builder copy(PreauthenticatedRequestSummary model) 
 
- 
 
-