Class AwsSdk2TransportOptions.DefaultImpl

    • Method Detail

      • credentials

        public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentials()
        Description copied from interface: AwsSdk2TransportOptions
        Get the credentials provider to user for signing requests.

        If this is null, then a default provider will be used -- either a provider specified in a more general AwsSdk2TransportOptions that applies to the request, or the default credential chain if there is none.

        Specified by:
        credentials in interface AwsSdk2TransportOptions
        Returns:
        A credentials provider or null
      • requestCompressionSize

        public java.lang.Integer requestCompressionSize()
        Description copied from interface: AwsSdk2TransportOptions
        Get the maximum size for uncompressed requests. Requests larger than this size will be sent with Content-Encoding: gzip.

        If this is null, then a default will be used -- either a value specified in a more general AwsSdk2TransportOptions that applies to the request, or a reasonable default if there is none.

        If this is Integer.MAX_VALUE, then requests will not be compressed. If this is 0, then all non-empty request bodies will be compressed.

        Specified by:
        requestCompressionSize in interface AwsSdk2TransportOptions
        Returns:
        An integer size limit or null
      • responseCompression

        public java.lang.Boolean responseCompression()
        Description copied from interface: AwsSdk2TransportOptions
        Get the response compression enable/disable value. If this is true, then an Accept-Encoding: gzip header will be sent with the request. The server will decide whether or not to compress its responses.

        If this is null, then a default will be used -- either a value specified in a more general AwsSdk2TransportOptions that applies to the request, or Boolean.TRUE if there is none.

        Specified by:
        responseCompression in interface AwsSdk2TransportOptions
        Returns:
        response compression enable/disable flag, or null