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 StringgetDeprecatedMessage()StringgetDocumentation()List<String>getEnumValues()ErrorTraitgetError()MembergetListMember()MembergetMapKeyType()MembergetMapValueType()longgetMax()Map<String,Member>getMembers()longgetMin()StringgetPattern()StringgetPayload()List<String>getRequired()StringgetTimestampFormat()StringgetType()XmlNamespacegetXmlNamespace()booleanisDeprecated()booleanisDocument()booleanisEvent()booleanisEventstream()booleanisException()booleanisFault()booleanisFlattened()booleanisRequiresLength()booleanisRetryable()booleanisSensitive()booleanisStreaming()booleanisSynthetic()Returns flag that indicates whether this shape is a custom SDK shape.booleanisThrottling()booleanisUnion()booleanisWrapper()voidsetDeprecated(boolean deprecated)voidsetDeprecatedMessage(String deprecatedMessage)voidsetDocument(boolean document)voidsetDocumentation(String documentation)voidsetEnum(List<String> enumValues)The actual JSON value of "enumValues".voidsetEnumValues(List<String> enumValues)voidsetError(ErrorTrait error)voidsetEvent(boolean event)voidsetEventstream(boolean eventstream)voidsetException(boolean exception)voidsetFault(boolean fault)voidsetFlattened(boolean flattened)voidsetKey(Member key)The actual JSON name of "mapKeyType".voidsetListMember(Member listMember)voidsetMapKeyType(Member mapKeyType)voidsetMapValueType(Member mapValueType)voidsetMax(long max)voidsetMember(Member listMember)The actual JSON name of "listMember".voidsetMembers(Map<String,Member> members)voidsetMin(long min)voidsetPattern(String pattern)voidsetPayload(String payload)voidsetRequired(List<String> required)voidsetRequiresLength(boolean requiresLength)voidsetRetryable(RetryableTrait retryable)voidsetSensitive(boolean sensitive)voidsetStreaming(boolean streaming)voidsetSynthetic(boolean synthetic)Sets flag that indicates whether this shape is a custom SDK shape.voidsetTimestampFormat(String timestampFormat)voidsetType(String type)voidsetUnion(boolean union)voidsetValue(Member value)The actual JSON name of "mapValueType".voidsetWrapper(boolean wrapper)voidsetXmlNamespace(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()
-
-