@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipelineVariable extends Object implements Serializable, Cloneable, StructuredPojo
A pipeline-level variable used for a pipeline execution.
V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
| Constructor and Description | 
|---|
PipelineVariable()  | 
| Modifier and Type | Method and Description | 
|---|---|
PipelineVariable | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getName()
 The name of a pipeline-level variable. 
 | 
String | 
getValue()
 The value of a pipeline-level variable. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setName(String name)
 The name of a pipeline-level variable. 
 | 
void | 
setValue(String value)
 The value of a pipeline-level variable. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
PipelineVariable | 
withName(String name)
 The name of a pipeline-level variable. 
 | 
PipelineVariable | 
withValue(String value)
 The value of a pipeline-level variable. 
 | 
public void setName(String name)
The name of a pipeline-level variable.
name - The name of a pipeline-level variable.public String getName()
The name of a pipeline-level variable.
public PipelineVariable withName(String name)
The name of a pipeline-level variable.
name - The name of a pipeline-level variable.public void setValue(String value)
The value of a pipeline-level variable.
value - The value of a pipeline-level variable.public String getValue()
The value of a pipeline-level variable.
public PipelineVariable withValue(String value)
The value of a pipeline-level variable.
value - The value of a pipeline-level variable.public String toString()
toString in class ObjectObject.toString()public PipelineVariable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.