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

software.amazon.awssdk.codegen.model.config.customization.ModifyModelShapeModifier Maven / Gradle / Ivy

Go to download

The AWS SDK for Java - Code Generator module holds the classes and templates required to generate the AWS Java SDK clients for AWS services.

The newest version!
/*
 * Copyright 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 software.amazon.awssdk.codegen.model.config.customization;

public class ModifyModelShapeModifier {

    /**
     * Indicates whether a member should be annotated as {@link Deprecated}.
     */
    private boolean deprecated;

    /**
     * The Javadoc message that will be included with the {@link Deprecated} annotation.
     */
    private String deprecatedMessage;

    /**
     * Indicates whether a renamed member should create getters and setters under the existing name
     */
    private boolean existingNameDeprecated;

    /**
     * Sets a name for a member used by the SDK, eliminating the existing name
     */
    private String emitPropertyName;

    /**
     * The name for the enum to be used in the java class. This overrides the
     * name computed by the code generator for the enum.
     */
    private String emitEnumName;

    /**
     * The value for the enum to be used in the java class. This overrides the
     * values computed by the code generator for the enum.
     */
    private String emitEnumValue;

    /**
     * Emit as a different primitive type. Used by AWS Budget Service to change string
     * to BigDecimal (see API-433).
     */
    private String emitAsType;

    private String marshallLocationName;

    private String unmarshallLocationName;

    /**
     * Indicates whether data type conversion failures are to be ignored
     */
    private boolean ignoreDataTypeConversionFailures;

    public String getDeprecatedMessage() {
        return deprecatedMessage;
    }

    public void setDeprecatedMessage(String deprecatedMessage) {
        this.deprecatedMessage = deprecatedMessage;
    }

    public boolean isDeprecated() {
        return deprecated;
    }

    public void setDeprecated(boolean deprecated) {
        this.deprecated = deprecated;
    }

    public boolean isExistingNameDeprecated() {
        return existingNameDeprecated;
    }

    public void setExistingNameDeprecated(boolean existingNameDeprecated) {
        this.existingNameDeprecated = existingNameDeprecated;
    }

    public String getEmitPropertyName() {
        return emitPropertyName;
    }

    public void setEmitPropertyName(String emitPropertyName) {
        this.emitPropertyName = emitPropertyName;
    }

    public String getEmitEnumName() {
        return emitEnumName;
    }

    public void setEmitEnumName(String emitEnumName) {
        this.emitEnumName = emitEnumName;
    }

    public String getEmitEnumValue() {
        return emitEnumValue;
    }

    public void setEmitEnumValue(String emitEnumValue) {
        this.emitEnumValue = emitEnumValue;
    }

    public String getMarshallLocationName() {
        return marshallLocationName;
    }

    public void setMarshallLocationName(String marshallLocationName) {
        this.marshallLocationName = marshallLocationName;
    }

    public String getUnmarshallLocationName() {
        return unmarshallLocationName;
    }

    public void setUnmarshallLocationName(String unmarshallLocationName) {
        this.unmarshallLocationName = unmarshallLocationName;
    }

    public String getEmitAsType() {
        return emitAsType;
    }

    public void setEmitAsType(String emitAsType) {
        this.emitAsType = emitAsType;
    }

    public void setIgnoreDataTypeConversionFailures(boolean ignoreDataTypeConversionFailures) {
        this.ignoreDataTypeConversionFailures = ignoreDataTypeConversionFailures;
    }

    public boolean isIgnoreDataTypeConversionFailures() {
        return ignoreDataTypeConversionFailures;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy