@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OutputResources extends Object implements Serializable, Cloneable, StructuredPojo
The resources produced by this image.
Constructor and Description |
---|
OutputResources() |
Modifier and Type | Method and Description |
---|---|
OutputResources |
clone() |
boolean |
equals(Object obj) |
List<Ami> |
getAmis()
The Amazon EC2 AMIs created by this image.
|
List<Container> |
getContainers()
Container images that the pipeline has generated and stored in the output repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmis(Collection<Ami> amis)
The Amazon EC2 AMIs created by this image.
|
void |
setContainers(Collection<Container> containers)
Container images that the pipeline has generated and stored in the output repository.
|
String |
toString()
Returns a string representation of this object.
|
OutputResources |
withAmis(Ami... amis)
The Amazon EC2 AMIs created by this image.
|
OutputResources |
withAmis(Collection<Ami> amis)
The Amazon EC2 AMIs created by this image.
|
OutputResources |
withContainers(Collection<Container> containers)
Container images that the pipeline has generated and stored in the output repository.
|
OutputResources |
withContainers(Container... containers)
Container images that the pipeline has generated and stored in the output repository.
|
public List<Ami> getAmis()
The Amazon EC2 AMIs created by this image.
public void setAmis(Collection<Ami> amis)
The Amazon EC2 AMIs created by this image.
amis
- The Amazon EC2 AMIs created by this image.public OutputResources withAmis(Ami... amis)
The Amazon EC2 AMIs created by this image.
NOTE: This method appends the values to the existing list (if any). Use
setAmis(java.util.Collection)
or withAmis(java.util.Collection)
if you want to override the
existing values.
amis
- The Amazon EC2 AMIs created by this image.public OutputResources withAmis(Collection<Ami> amis)
The Amazon EC2 AMIs created by this image.
amis
- The Amazon EC2 AMIs created by this image.public List<Container> getContainers()
Container images that the pipeline has generated and stored in the output repository.
public void setContainers(Collection<Container> containers)
Container images that the pipeline has generated and stored in the output repository.
containers
- Container images that the pipeline has generated and stored in the output repository.public OutputResources withContainers(Container... containers)
Container images that the pipeline has generated and stored in the output repository.
NOTE: This method appends the values to the existing list (if any). Use
setContainers(java.util.Collection)
or withContainers(java.util.Collection)
if you want to
override the existing values.
containers
- Container images that the pipeline has generated and stored in the output repository.public OutputResources withContainers(Collection<Container> containers)
Container images that the pipeline has generated and stored in the output repository.
containers
- Container images that the pipeline has generated and stored in the output repository.public String toString()
toString
in class Object
Object.toString()
public OutputResources clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.