Send feedback
Class SignatureInfo.Builder (2.20.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.20.2 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)
Methods
build()
public SignatureInfo build()
Creates an SignatureInfo
object from this builder.
setAccountEmail(String accountEmail)
public SignatureInfo.Builder setAccountEmail(String accountEmail)
Parameter
Name
Description
accountEmail
String
public SignatureInfo.Builder setCanonicalizedExtensionHeaders(Map<String,String> canonicalizedExtensionHeaders)
Parameter
Name
Description
canonicalizedExtensionHeaders
Map <String ,String >
setCanonicalizedQueryParams(Map<String,String> queryParams)
public SignatureInfo.Builder setCanonicalizedQueryParams(Map<String,String> queryParams)
setContentMd5(String contentMd5)
public SignatureInfo.Builder setContentMd5(String contentMd5)
Parameter
Name
Description
contentMd5
String
setContentType(String contentType)
public SignatureInfo.Builder setContentType(String contentType)
Parameter
Name
Description
contentType
String
setSignatureVersion(Storage.SignUrlOption.SignatureVersion signatureVersion)
public SignatureInfo.Builder setSignatureVersion(Storage.SignUrlOption.SignatureVersion signatureVersion)
Parameter
Name
Description
signatureVersion
com.google.cloud.storage.Storage.SignUrlOption.SignatureVersion
setTimestamp(long timestamp)
public SignatureInfo.Builder setTimestamp(long timestamp)
Parameter
Name
Description
timestamp
long
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-10-30 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-10-30 UTC."],[],[]]