@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; useful for testing and debugging.
|
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 Object
Object.toString()
public ValueWithServiceIds clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.