@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()
Cores in the definition version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCores(Collection<Core> cores)
Cores in the definition version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CoreDefinitionVersion |
withCores(Collection<Core> cores)
Cores in the definition version.
|
CoreDefinitionVersion |
withCores(Core... cores)
Cores in the definition version.
|
public List<Core> getCores()
public void setCores(Collection<Core> cores)
cores
- Cores in the 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
- Cores in the definition version.public CoreDefinitionVersion withCores(Collection<Core> cores)
cores
- Cores in the definition version.public String toString()
toString
in class Object
Object.toString()
public CoreDefinitionVersion 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.