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