Send feedback
Class SignatureInfo.Builder (2.15.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.15.1 keyboard_arrow_down
public static final class SignatureInfo . Builder
Constructors
Builder(HttpMethod httpVerb, long expiration, URI canonicalizedResource)
public Builder ( HttpMethod httpVerb , long expiration , URI canonicalizedResource )
Parameters
Name
Description
httpVerb
HttpMethod
the HTTP method
expiration
long
the EPOX expiration date
canonicalizedResource
URI
the resource URI
Builder(SignatureInfo signatureInfo)
public Builder ( SignatureInfo signatureInfo )
Parameter
Methods
build()
public SignatureInfo build ()
Creates an SignatureInfo
object from this builder.
Returns
setAccountEmail(String accountEmail)
public SignatureInfo . Builder setAccountEmail ( String accountEmail )
Parameter
Name
Description
accountEmail
String
Returns
public SignatureInfo . Builder setCanonicalizedExtensionHeaders ( Map<String , String > canonicalizedExtensionHeaders )
Parameter
Returns
setCanonicalizedQueryParams(Map<String,String> queryParams)
public SignatureInfo . Builder setCanonicalizedQueryParams ( Map<String , String > queryParams )
Parameter
Returns
setContentMd5(String contentMd5)
public SignatureInfo . Builder setContentMd5 ( String contentMd5 )
Parameter
Name
Description
contentMd5
String
Returns
setContentType(String contentType)
public SignatureInfo . Builder setContentType ( String contentType )
Parameter
Name
Description
contentType
String
Returns
setSignatureVersion(Storage.SignUrlOption.SignatureVersion signatureVersion)
public SignatureInfo . Builder setSignatureVersion ( Storage . SignUrlOption . SignatureVersion signatureVersion )
Parameter
Name
Description
signatureVersion
com.google.cloud.storage.Storage.SignUrlOption.SignatureVersion
Returns
setTimestamp(long timestamp)
public SignatureInfo . Builder setTimestamp ( long timestamp )
Parameter
Name
Description
timestamp
long
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]