@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValueWithServiceIds extends Object implements Serializable, Cloneable, StructuredPojo
Information about a segment annotation.
| Constructor and Description |
|---|
ValueWithServiceIds() |
| Modifier and Type | Method and Description |
|---|---|
ValueWithServiceIds |
clone() |
boolean |
equals(Object obj) |
AnnotationValue |
getAnnotationValue()
Values of the annotation.
|
List<ServiceId> |
getServiceIds()
Services to which the annotation applies.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAnnotationValue(AnnotationValue annotationValue)
Values of the annotation.
|
void |
setServiceIds(Collection<ServiceId> serviceIds)
Services to which the annotation applies.
|
String |
toString()
Returns a string representation of this object.
|
ValueWithServiceIds |
withAnnotationValue(AnnotationValue annotationValue)
Values of the annotation.
|
ValueWithServiceIds |
withServiceIds(Collection<ServiceId> serviceIds)
Services to which the annotation applies.
|
ValueWithServiceIds |
withServiceIds(ServiceId... serviceIds)
Services to which the annotation applies.
|
public void setAnnotationValue(AnnotationValue annotationValue)
Values of the annotation.
annotationValue - Values of the annotation.public AnnotationValue getAnnotationValue()
Values of the annotation.
public ValueWithServiceIds withAnnotationValue(AnnotationValue annotationValue)
Values of the annotation.
annotationValue - Values of the annotation.public List<ServiceId> getServiceIds()
Services to which the annotation applies.
public void setServiceIds(Collection<ServiceId> serviceIds)
Services to which the annotation applies.
serviceIds - Services to which the annotation applies.public ValueWithServiceIds withServiceIds(ServiceId... serviceIds)
Services to which the annotation applies.
NOTE: This method appends the values to the existing list (if any). Use
setServiceIds(java.util.Collection) or withServiceIds(java.util.Collection) if you want to
override the existing values.
serviceIds - Services to which the annotation applies.public ValueWithServiceIds withServiceIds(Collection<ServiceId> serviceIds)
Services to which the annotation applies.
serviceIds - Services to which the annotation applies.public String toString()
toString in class ObjectObject.toString()public ValueWithServiceIds clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.