/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.codestar.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The toolchain template file provided with the project request. AWS CodeStar uses the template to provision the * toolchain stack in AWS CloudFormation. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Toolchain implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS * CodeStar retrieves the file during project creation. *
*/ private ToolchainSource source; /** ** The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning. *
*/ private String roleArn; /** ** The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any. *
*/ private java.util.Map* The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS * CodeStar retrieves the file during project creation. *
* * @param 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 setSource(ToolchainSource source) { this.source = 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. *
* * @return 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() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public Toolchain withSource(ToolchainSource source) { setSource(source); return this; } /** ** The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning. *
* * @param roleArn * The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning. *
* * @return The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning. */ public String getRoleArn() { return this.roleArn; } /** ** The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning. *
* * @param roleArn * The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning. * @return Returns a reference to this object so that method calls can be chained together. */ public Toolchain withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any. *
* * @return The list of parameter overrides to be passed into the toolchain template during stack provisioning, if * any. */ public java.util.Map* The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any. *
* * @param stackParameters * The list of parameter overrides to be passed into the toolchain template during stack provisioning, if * any. */ public void setStackParameters(java.util.Map* The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any. *
* * @param stackParameters * The list of parameter overrides to be passed into the toolchain template during stack provisioning, if * any. * @return Returns a reference to this object so that method calls can be chained together. */ public Toolchain withStackParameters(java.util.Map