@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportedEnvironmentVariable extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an exported environment variable.
Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.
During a build, the value of a variable is available starting with the install phase. It can be updated
between the start of the install phase and the end of the post_build phase. After the
post_build phase ends, the value of exported variables cannot change.
| Constructor and Description |
|---|
ExportedEnvironmentVariable() |
| Modifier and Type | Method and Description |
|---|---|
ExportedEnvironmentVariable |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the exported environment variable.
|
String |
getValue()
The value assigned to the exported environment variable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the exported environment variable.
|
void |
setValue(String value)
The value assigned to the exported environment variable.
|
String |
toString()
Returns a string representation of this object.
|
ExportedEnvironmentVariable |
withName(String name)
The name of the exported environment variable.
|
ExportedEnvironmentVariable |
withValue(String value)
The value assigned to the exported environment variable.
|
public void setName(String name)
The name of the exported environment variable.
name - The name of the exported environment variable.public String getName()
The name of the exported environment variable.
public ExportedEnvironmentVariable withName(String name)
The name of the exported environment variable.
name - The name of the exported environment variable.public void setValue(String value)
The value assigned to the exported environment variable.
value - The value assigned to the exported environment variable.public String getValue()
The value assigned to the exported environment variable.
public ExportedEnvironmentVariable withValue(String value)
The value assigned to the exported environment variable.
value - The value assigned to the exported environment variable.public String toString()
toString in class ObjectObject.toString()public ExportedEnvironmentVariable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.