@Generated(value="software.amazon.awssdk:codegen") public class AnnotationValue extends Object implements StructuredPojo, ToCopyableBuilder<AnnotationValue.Builder,AnnotationValue>
Value of a segment annotation. Has one of three value types: Number, Boolean or String.
Modifier and Type | Class and Description |
---|---|
static interface |
AnnotationValue.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
booleanValue()
Value for a Boolean annotation.
|
static AnnotationValue.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Double |
numberValue()
Value for a Number annotation.
|
static Class<? extends AnnotationValue.Builder> |
serializableBuilderClass() |
String |
stringValue()
Value for a String annotation.
|
AnnotationValue.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Double numberValue()
Value for a Number annotation.
public Boolean booleanValue()
Value for a Boolean annotation.
public String stringValue()
Value for a String annotation.
public AnnotationValue.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AnnotationValue.Builder,AnnotationValue>
public static AnnotationValue.Builder builder()
public static Class<? extends AnnotationValue.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.