@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoreDefinitionVersion extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CoreDefinitionVersion() |
| Modifier and Type | Method and Description |
|---|---|
CoreDefinitionVersion |
clone() |
boolean |
equals(Object obj) |
List<Core> |
getCores()
A list of cores in the core definition version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCores(Collection<Core> cores)
A list of cores in the core definition version.
|
String |
toString()
Returns a string representation of this object.
|
CoreDefinitionVersion |
withCores(Collection<Core> cores)
A list of cores in the core definition version.
|
CoreDefinitionVersion |
withCores(Core... cores)
A list of cores in the core definition version.
|
public List<Core> getCores()
public void setCores(Collection<Core> cores)
cores - A list of cores in the core definition version.public CoreDefinitionVersion withCores(Core... cores)
NOTE: This method appends the values to the existing list (if any). Use
setCores(java.util.Collection) or withCores(java.util.Collection) if you want to override the
existing values.
cores - A list of cores in the core definition version.public CoreDefinitionVersion withCores(Collection<Core> cores)
cores - A list of cores in the core definition version.public String toString()
toString in class ObjectObject.toString()public CoreDefinitionVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.