Class ExportedEnvironmentVariable
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.ExportedEnvironmentVariable
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExportedEnvironmentVariable.Builder,ExportedEnvironmentVariable>
@Generated("software.amazon.awssdk:codegen") public final class ExportedEnvironmentVariable extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportedEnvironmentVariable.Builder,ExportedEnvironmentVariable>
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
installphase. It can be updated between the start of theinstallphase and the end of thepost_buildphase. After thepost_buildphase ends, the value of exported variables cannot change.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportedEnvironmentVariable.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportedEnvironmentVariable.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the exported environment variable.List<SdkField<?>>sdkFields()static Class<? extends ExportedEnvironmentVariable.Builder>serializableBuilderClass()ExportedEnvironmentVariable.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value assigned to the exported environment variable.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the exported environment variable.
- Returns:
- The name of the exported environment variable.
-
value
public final String value()
The value assigned to the exported environment variable.
- Returns:
- The value assigned to the exported environment variable.
-
toBuilder
public ExportedEnvironmentVariable.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportedEnvironmentVariable.Builder,ExportedEnvironmentVariable>
-
builder
public static ExportedEnvironmentVariable.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportedEnvironmentVariable.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-