Class Shape
- java.lang.Object
-
- software.amazon.awssdk.codegen.model.service.Shape
-
public class Shape extends Object
-
-
Constructor Summary
Constructors Constructor Description Shape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDeprecatedMessage()
String
getDocumentation()
List<String>
getEnumValues()
ErrorTrait
getError()
Member
getListMember()
Member
getMapKeyType()
Member
getMapValueType()
long
getMax()
Map<String,Member>
getMembers()
long
getMin()
String
getPattern()
String
getPayload()
List<String>
getRequired()
String
getTimestampFormat()
String
getType()
XmlNamespace
getXmlNamespace()
boolean
isDeprecated()
boolean
isDocument()
boolean
isEvent()
boolean
isEventstream()
boolean
isException()
boolean
isFault()
boolean
isFlattened()
boolean
isRequiresLength()
boolean
isRetryable()
boolean
isSensitive()
boolean
isStreaming()
boolean
isSynthetic()
Returns flag that indicates whether this shape is a custom SDK shape.boolean
isThrottling()
boolean
isUnion()
boolean
isWrapper()
void
setDeprecated(boolean deprecated)
void
setDeprecatedMessage(String deprecatedMessage)
void
setDocument(boolean document)
void
setDocumentation(String documentation)
void
setEnum(List<String> enumValues)
The actual JSON value of "enumValues".void
setEnumValues(List<String> enumValues)
void
setError(ErrorTrait error)
void
setEvent(boolean event)
void
setEventstream(boolean eventstream)
void
setException(boolean exception)
void
setFault(boolean fault)
void
setFlattened(boolean flattened)
void
setKey(Member key)
The actual JSON name of "mapKeyType".void
setListMember(Member listMember)
void
setMapKeyType(Member mapKeyType)
void
setMapValueType(Member mapValueType)
void
setMax(long max)
void
setMember(Member listMember)
The actual JSON name of "listMember".void
setMembers(Map<String,Member> members)
void
setMin(long min)
void
setPattern(String pattern)
void
setPayload(String payload)
void
setRequired(List<String> required)
void
setRequiresLength(boolean requiresLength)
void
setRetryable(RetryableTrait retryable)
void
setSensitive(boolean sensitive)
void
setStreaming(boolean streaming)
void
setSynthetic(boolean synthetic)
Sets flag that indicates whether this shape is a custom SDK shape.void
setTimestampFormat(String timestampFormat)
void
setType(String type)
void
setUnion(boolean union)
void
setValue(Member value)
The actual JSON name of "mapValueType".void
setWrapper(boolean wrapper)
void
setXmlNamespace(XmlNamespace xmlNamespace)
-
-
-
Method Detail
-
isFault
public boolean isFault()
-
setFault
public void setFault(boolean fault)
-
getPattern
public String getPattern()
-
setPattern
public void setPattern(String pattern)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String documentation)
-
getPayload
public String getPayload()
-
setPayload
public void setPayload(String payload)
-
isFlattened
public boolean isFlattened()
-
setFlattened
public void setFlattened(boolean flattened)
-
isSynthetic
public boolean isSynthetic()
Returns flag that indicates whether this shape is a custom SDK shape. If true, this shape will be excluded from the static SdkFields, preventing it from being marshalled.
-
setSynthetic
public void setSynthetic(boolean synthetic)
Sets flag that indicates whether this shape is a custom SDK shape. If true, this shape will be excluded from the static SdkFields, preventing it from being marshalled.
-
isException
public boolean isException()
-
setException
public void setException(boolean exception)
-
getMapKeyType
public Member getMapKeyType()
-
setMapKeyType
public void setMapKeyType(Member mapKeyType)
-
setKey
public void setKey(Member key)
The actual JSON name of "mapKeyType".
-
getMapValueType
public Member getMapValueType()
-
setMapValueType
public void setMapValueType(Member mapValueType)
-
setValue
public void setValue(Member value)
The actual JSON name of "mapValueType".
-
getListMember
public Member getListMember()
-
setListMember
public void setListMember(Member listMember)
-
setMember
public void setMember(Member listMember)
The actual JSON name of "listMember".
-
getMin
public long getMin()
-
setMin
public void setMin(long min)
-
getMax
public long getMax()
-
setMax
public void setMax(long max)
-
isStreaming
public boolean isStreaming()
-
setStreaming
public void setStreaming(boolean streaming)
-
isRequiresLength
public boolean isRequiresLength()
-
setRequiresLength
public void setRequiresLength(boolean requiresLength)
-
isWrapper
public boolean isWrapper()
-
setWrapper
public void setWrapper(boolean wrapper)
-
getError
public ErrorTrait getError()
-
setError
public void setError(ErrorTrait error)
-
isDeprecated
public boolean isDeprecated()
-
setDeprecated
public void setDeprecated(boolean deprecated)
-
getDeprecatedMessage
public String getDeprecatedMessage()
-
setDeprecatedMessage
public void setDeprecatedMessage(String deprecatedMessage)
-
isEventstream
public boolean isEventstream()
-
setEventstream
public void setEventstream(boolean eventstream)
-
isEvent
public boolean isEvent()
-
setEvent
public void setEvent(boolean event)
-
getTimestampFormat
public String getTimestampFormat()
-
setTimestampFormat
public void setTimestampFormat(String timestampFormat)
-
isSensitive
public boolean isSensitive()
-
setSensitive
public void setSensitive(boolean sensitive)
-
getXmlNamespace
public XmlNamespace getXmlNamespace()
-
setXmlNamespace
public void setXmlNamespace(XmlNamespace xmlNamespace)
-
isDocument
public boolean isDocument()
-
setDocument
public void setDocument(boolean document)
-
isUnion
public boolean isUnion()
-
setUnion
public void setUnion(boolean union)
-
setRetryable
public void setRetryable(RetryableTrait retryable)
-
isRetryable
public boolean isRetryable()
-
isThrottling
public boolean isThrottling()
-
-