@Generated(value="software.amazon.awssdk:codegen") public final class AnnotationValue extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
numberValue()
Value for a Number annotation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnnotationValue.Builder> |
serializableBuilderClass() |
String |
stringValue()
Value for a String annotation.
|
AnnotationValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double numberValue()
Value for a Number annotation.
public final Boolean booleanValue()
Value for a Boolean annotation.
public final String stringValue()
Value for a String annotation.
public AnnotationValue.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnnotationValue.Builder,AnnotationValue>public static AnnotationValue.Builder builder()
public static Class<? extends AnnotationValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.