Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
  *
  *  http://aws.amazon.com/apache2.0
  *
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
package com.amazonaws.internal.config;

An internal class used to help build InternalConfig after this class per se has been unmarshalled from JSON. This class allows us to make use of Jackson without the need to write any special parser or json marshaller/unmarshaller.
    // Implementation note:
    // Internally use list instead of Map for ease of implementation to
    // leverage on Jackson which supports recursive list of arbitrary pojos
    // without the use of custom [un]marshallers.  This is not the case for
    // Map, which Jackson only supports the use of strings
    // without custom [un]marshaller.
    private JsonIndex<SignerConfigJsonHelperSignerConfig>[] serviceSigners;
    private JsonIndex<SignerConfigJsonHelperSignerConfig>[] regionSigners;
    private String userAgentTemplate;
        return ;
    }
    void setDefaultSigner(SignerConfigJsonHelper defaultSigner) {
        this. = defaultSigner;
    }
    public JsonIndex<SignerConfigJsonHelperSignerConfig>[] getServiceSigners() {
        return ;
    }
    void setServiceSigners(JsonIndex<SignerConfigJsonHelperSignerConfig> ... serviceSigners) {
        this. = serviceSigners;
    }
    public JsonIndex<SignerConfigJsonHelperSignerConfig>[] getRegionSigners() {
        return ;
    }
    void setRegionSigners(JsonIndex<SignerConfigJsonHelperSignerConfig> ... regionSigners) {
        this. = regionSigners;
    }
        return ;
    }
    void setServiceRegionSigners(JsonIndex<SignerConfigJsonHelperSignerConfig> ... serviceRegionSigners) {
        this. = serviceRegionSigners;
    }
    public JsonIndex<HttpClientConfigJsonHelperHttpClientConfig>[] getHttpClients() {
        return ;
    }
    public void setHttpClients(JsonIndex<HttpClientConfigJsonHelperHttpClientConfig> ... httpClients) {
        this. = httpClients;
    }
        return ;
    }
    public void setHostRegexToRegionMappings(
            HostRegexToRegionMappingJsonHelper[] hostRegexToRegionMappings) {
        this. = hostRegexToRegionMappings;
    }
    public String getUserAgentTemplate() {
        return ;
    }
    void setUserAgentTemplate(String userAgentTemplate) {
        this. = userAgentTemplate;
    }
New to GrepCode? Check out our FAQ X