All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.AWSV4Signature.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250320-2.0.0
Show newest version






AWSV4Signature (Compute Engine API v1-rev20250107-2.0.0)












com.google.api.services.compute.model

Class AWSV4Signature

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class AWSV4Signature
    extends com.google.api.client.json.GenericJson
    Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to 's3'.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • AWSV4Signature

        public AWSV4Signature()
    • Method Detail

      • getAccessKey

        public String getAccessKey()
        The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
        Returns:
        value or null for none
      • setAccessKey

        public AWSV4Signature setAccessKey(String accessKey)
        The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
        Parameters:
        accessKey - accessKey or null for none
      • getAccessKeyId

        public String getAccessKeyId()
        The identifier of an access key used for s3 bucket authentication.
        Returns:
        value or null for none
      • setAccessKeyId

        public AWSV4Signature setAccessKeyId(String accessKeyId)
        The identifier of an access key used for s3 bucket authentication.
        Parameters:
        accessKeyId - accessKeyId or null for none
      • getAccessKeyVersion

        public String getAccessKeyVersion()
        The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
        Returns:
        value or null for none
      • setAccessKeyVersion

        public AWSV4Signature setAccessKeyVersion(String accessKeyVersion)
        The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
        Parameters:
        accessKeyVersion - accessKeyVersion or null for none
      • getOriginRegion

        public String getOriginRegion()
        The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
        Returns:
        value or null for none
      • setOriginRegion

        public AWSV4Signature setOriginRegion(String originRegion)
        The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
        Parameters:
        originRegion - originRegion or null for none
      • set

        public AWSV4Signature set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public AWSV4Signature clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy