@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentImage extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Docker image that is managed by AWS CodeBuild.
| Constructor and Description | 
|---|
| EnvironmentImage() | 
| Modifier and Type | Method and Description | 
|---|---|
| EnvironmentImage | clone() | 
| boolean | equals(Object obj) | 
| String | getDescription()
 The description of the Docker image. | 
| String | getName()
 The name of the Docker image. | 
| List<String> | getVersions()
 A list of environment image versions. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDescription(String description)
 The description of the Docker image. | 
| void | setName(String name)
 The name of the Docker image. | 
| void | setVersions(Collection<String> versions)
 A list of environment image versions. | 
| String | toString()Returns a string representation of this object. | 
| EnvironmentImage | withDescription(String description)
 The description of the Docker image. | 
| EnvironmentImage | withName(String name)
 The name of the Docker image. | 
| EnvironmentImage | withVersions(Collection<String> versions)
 A list of environment image versions. | 
| EnvironmentImage | withVersions(String... versions)
 A list of environment image versions. | 
public void setName(String name)
The name of the Docker image.
name - The name of the Docker image.public String getName()
The name of the Docker image.
public EnvironmentImage withName(String name)
The name of the Docker image.
name - The name of the Docker image.public void setDescription(String description)
The description of the Docker image.
description - The description of the Docker image.public String getDescription()
The description of the Docker image.
public EnvironmentImage withDescription(String description)
The description of the Docker image.
description - The description of the Docker image.public List<String> getVersions()
A list of environment image versions.
public void setVersions(Collection<String> versions)
A list of environment image versions.
versions - A list of environment image versions.public EnvironmentImage withVersions(String... versions)
A list of environment image versions.
 NOTE: This method appends the values to the existing list (if any). Use
 setVersions(java.util.Collection) or withVersions(java.util.Collection) if you want to override
 the existing values.
 
versions - A list of environment image versions.public EnvironmentImage withVersions(Collection<String> versions)
A list of environment image versions.
versions - A list of environment image versions.public String toString()
toString in class ObjectObject.toString()public EnvironmentImage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.