-
Notifications
You must be signed in to change notification settings - Fork 796
/
ModifyModelShapeModifier.java
146 lines (114 loc) · 4.04 KB
/
ModifyModelShapeModifier.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/*
* 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;
}
}