@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Toolchain extends Object implements Serializable, Cloneable, StructuredPojo
The toolchain template file provided with the project request. AWS CodeStar uses the template to provision the toolchain stack in AWS CloudFormation.
Constructor and Description |
---|
Toolchain() |
Modifier and Type | Method and Description |
---|---|
Toolchain |
addStackParametersEntry(String key,
String value)
Add a single StackParameters entry
|
Toolchain |
clearStackParametersEntries()
Removes all the entries added into StackParameters.
|
Toolchain |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
|
ToolchainSource |
getSource()
The Amazon S3 location where the toolchain template file provided with the project request is stored.
|
Map<String,String> |
getStackParameters()
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
|
void |
setSource(ToolchainSource source)
The Amazon S3 location where the toolchain template file provided with the project request is stored.
|
void |
setStackParameters(Map<String,String> stackParameters)
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
|
String |
toString()
Returns a string representation of this object.
|
Toolchain |
withRoleArn(String roleArn)
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
|
Toolchain |
withSource(ToolchainSource source)
The Amazon S3 location where the toolchain template file provided with the project request is stored.
|
Toolchain |
withStackParameters(Map<String,String> stackParameters)
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
|
public void setSource(ToolchainSource source)
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
source
- The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS
CodeStar retrieves the file during project creation.public ToolchainSource getSource()
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
public Toolchain withSource(ToolchainSource source)
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
source
- The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS
CodeStar retrieves the file during project creation.public void setRoleArn(String roleArn)
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
roleArn
- The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.public String getRoleArn()
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
public Toolchain withRoleArn(String roleArn)
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
roleArn
- The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.public Map<String,String> getStackParameters()
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
public void setStackParameters(Map<String,String> stackParameters)
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
stackParameters
- The list of parameter overrides to be passed into the toolchain template during stack provisioning, if
any.public Toolchain withStackParameters(Map<String,String> stackParameters)
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
stackParameters
- The list of parameter overrides to be passed into the toolchain template during stack provisioning, if
any.public Toolchain addStackParametersEntry(String key, String value)
public Toolchain clearStackParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.