@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoBranchCreationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Structure with auto branch creation config.
Constructor and Description |
---|
AutoBranchCreationConfig() |
Modifier and Type | Method and Description |
---|---|
AutoBranchCreationConfig |
addEnvironmentVariablesEntry(String key,
String value) |
AutoBranchCreationConfig |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
AutoBranchCreationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getBasicAuthCredentials()
Basic Authorization credentials for the auto created branch.
|
String |
getBuildSpec()
BuildSpec for the auto created branch.
|
Boolean |
getEnableAutoBuild()
Enables auto building for the auto created branch.
|
Boolean |
getEnableBasicAuth()
Enables Basic Auth for the auto created branch.
|
Boolean |
getEnablePullRequestPreview()
Enables Pull Request Preview for auto created branch.
|
Map<String,String> |
getEnvironmentVariables()
Environment Variables for the auto created branch.
|
String |
getFramework()
Framework for the auto created branch.
|
String |
getPullRequestEnvironmentName()
The Amplify Environment name for the pull request.
|
String |
getStage()
Stage for the auto created branch.
|
int |
hashCode() |
Boolean |
isEnableAutoBuild()
Enables auto building for the auto created branch.
|
Boolean |
isEnableBasicAuth()
Enables Basic Auth for the auto created branch.
|
Boolean |
isEnablePullRequestPreview()
Enables Pull Request Preview for auto created branch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the auto created branch.
|
void |
setBuildSpec(String buildSpec)
BuildSpec for the auto created branch.
|
void |
setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the auto created branch.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the auto created branch.
|
void |
setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for auto created branch.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the auto created branch.
|
void |
setFramework(String framework)
Framework for the auto created branch.
|
void |
setPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify Environment name for the pull request.
|
void |
setStage(String stage)
Stage for the auto created branch.
|
String |
toString()
Returns a string representation of this object.
|
AutoBranchCreationConfig |
withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the auto created branch.
|
AutoBranchCreationConfig |
withBuildSpec(String buildSpec)
BuildSpec for the auto created branch.
|
AutoBranchCreationConfig |
withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the auto created branch.
|
AutoBranchCreationConfig |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the auto created branch.
|
AutoBranchCreationConfig |
withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for auto created branch.
|
AutoBranchCreationConfig |
withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the auto created branch.
|
AutoBranchCreationConfig |
withFramework(String framework)
Framework for the auto created branch.
|
AutoBranchCreationConfig |
withPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify Environment name for the pull request.
|
AutoBranchCreationConfig |
withStage(Stage stage)
Stage for the auto created branch.
|
AutoBranchCreationConfig |
withStage(String stage)
Stage for the auto created branch.
|
public void setStage(String stage)
Stage for the auto created branch.
stage
- Stage for the auto created branch.Stage
public String getStage()
Stage for the auto created branch.
Stage
public AutoBranchCreationConfig withStage(String stage)
Stage for the auto created branch.
stage
- Stage for the auto created branch.Stage
public AutoBranchCreationConfig withStage(Stage stage)
Stage for the auto created branch.
stage
- Stage for the auto created branch.Stage
public void setFramework(String framework)
Framework for the auto created branch.
framework
- Framework for the auto created branch.public String getFramework()
Framework for the auto created branch.
public AutoBranchCreationConfig withFramework(String framework)
Framework for the auto created branch.
framework
- Framework for the auto created branch.public void setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the auto created branch.
enableAutoBuild
- Enables auto building for the auto created branch.public Boolean getEnableAutoBuild()
Enables auto building for the auto created branch.
public AutoBranchCreationConfig withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the auto created branch.
enableAutoBuild
- Enables auto building for the auto created branch.public Boolean isEnableAutoBuild()
Enables auto building for the auto created branch.
public Map<String,String> getEnvironmentVariables()
Environment Variables for the auto created branch.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the auto created branch.
environmentVariables
- Environment Variables for the auto created branch.public AutoBranchCreationConfig withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the auto created branch.
environmentVariables
- Environment Variables for the auto created branch.public AutoBranchCreationConfig addEnvironmentVariablesEntry(String key, String value)
public AutoBranchCreationConfig clearEnvironmentVariablesEntries()
public void setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the auto created branch.
basicAuthCredentials
- Basic Authorization credentials for the auto created branch.public String getBasicAuthCredentials()
Basic Authorization credentials for the auto created branch.
public AutoBranchCreationConfig withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the auto created branch.
basicAuthCredentials
- Basic Authorization credentials for the auto created branch.public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the auto created branch.
enableBasicAuth
- Enables Basic Auth for the auto created branch.public Boolean getEnableBasicAuth()
Enables Basic Auth for the auto created branch.
public AutoBranchCreationConfig withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the auto created branch.
enableBasicAuth
- Enables Basic Auth for the auto created branch.public Boolean isEnableBasicAuth()
Enables Basic Auth for the auto created branch.
public void setBuildSpec(String buildSpec)
BuildSpec for the auto created branch.
buildSpec
- BuildSpec for the auto created branch.public String getBuildSpec()
BuildSpec for the auto created branch.
public AutoBranchCreationConfig withBuildSpec(String buildSpec)
BuildSpec for the auto created branch.
buildSpec
- BuildSpec for the auto created branch.public void setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for auto created branch.
enablePullRequestPreview
- Enables Pull Request Preview for auto created branch.public Boolean getEnablePullRequestPreview()
Enables Pull Request Preview for auto created branch.
public AutoBranchCreationConfig withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for auto created branch.
enablePullRequestPreview
- Enables Pull Request Preview for auto created branch.public Boolean isEnablePullRequestPreview()
Enables Pull Request Preview for auto created branch.
public void setPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify Environment name for the pull request.
pullRequestEnvironmentName
- The Amplify Environment name for the pull request.public String getPullRequestEnvironmentName()
The Amplify Environment name for the pull request.
public AutoBranchCreationConfig withPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify Environment name for the pull request.
pullRequestEnvironmentName
- The Amplify Environment name for the pull request.public String toString()
toString
in class Object
Object.toString()
public AutoBranchCreationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.