@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoBranchCreationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the automated branch creation configuration.
Constructor and Description |
---|
AutoBranchCreationConfig() |
Modifier and Type | Method and Description |
---|---|
AutoBranchCreationConfig |
addEnvironmentVariablesEntry(String key,
String value)
Add a single EnvironmentVariables entry
|
AutoBranchCreationConfig |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
AutoBranchCreationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getBasicAuthCredentials()
The basic authorization credentials for the autocreated branch.
|
String |
getBuildSpec()
The build specification (build spec) for the autocreated branch.
|
Boolean |
getEnableAutoBuild()
Enables auto building for the autocreated branch.
|
Boolean |
getEnableBasicAuth()
Enables basic authorization for the autocreated branch.
|
Boolean |
getEnablePerformanceMode()
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer
interval.
|
Boolean |
getEnablePullRequestPreview()
Enables pull request preview for the autocreated branch.
|
Map<String,String> |
getEnvironmentVariables()
The environment variables for the autocreated branch.
|
String |
getFramework()
The framework for the autocreated branch.
|
String |
getPullRequestEnvironmentName()
The Amplify environment name for the pull request.
|
String |
getStage()
Describes the current stage for the autocreated branch.
|
int |
hashCode() |
Boolean |
isEnableAutoBuild()
Enables auto building for the autocreated branch.
|
Boolean |
isEnableBasicAuth()
Enables basic authorization for the autocreated branch.
|
Boolean |
isEnablePerformanceMode()
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer
interval.
|
Boolean |
isEnablePullRequestPreview()
Enables pull request preview for the autocreated branch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for the autocreated branch.
|
void |
setBuildSpec(String buildSpec)
The build specification (build spec) for the autocreated branch.
|
void |
setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the autocreated branch.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the autocreated branch.
|
void |
setEnablePerformanceMode(Boolean enablePerformanceMode)
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer
interval.
|
void |
setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request preview for the autocreated branch.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables for the autocreated branch.
|
void |
setFramework(String framework)
The framework for the autocreated branch.
|
void |
setPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
|
void |
setStage(String stage)
Describes the current stage for the autocreated branch.
|
String |
toString()
Returns a string representation of this object.
|
AutoBranchCreationConfig |
withBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for the autocreated branch.
|
AutoBranchCreationConfig |
withBuildSpec(String buildSpec)
The build specification (build spec) for the autocreated branch.
|
AutoBranchCreationConfig |
withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the autocreated branch.
|
AutoBranchCreationConfig |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the autocreated branch.
|
AutoBranchCreationConfig |
withEnablePerformanceMode(Boolean enablePerformanceMode)
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer
interval.
|
AutoBranchCreationConfig |
withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request preview for the autocreated branch.
|
AutoBranchCreationConfig |
withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables for the autocreated branch.
|
AutoBranchCreationConfig |
withFramework(String framework)
The framework for the autocreated branch.
|
AutoBranchCreationConfig |
withPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
|
AutoBranchCreationConfig |
withStage(Stage stage)
Describes the current stage for the autocreated branch.
|
AutoBranchCreationConfig |
withStage(String stage)
Describes the current stage for the autocreated branch.
|
public void setStage(String stage)
Describes the current stage for the autocreated branch.
stage
- Describes the current stage for the autocreated branch.Stage
public String getStage()
Describes the current stage for the autocreated branch.
Stage
public AutoBranchCreationConfig withStage(String stage)
Describes the current stage for the autocreated branch.
stage
- Describes the current stage for the autocreated branch.Stage
public AutoBranchCreationConfig withStage(Stage stage)
Describes the current stage for the autocreated branch.
stage
- Describes the current stage for the autocreated branch.Stage
public void setFramework(String framework)
The framework for the autocreated branch.
framework
- The framework for the autocreated branch.public String getFramework()
The framework for the autocreated branch.
public AutoBranchCreationConfig withFramework(String framework)
The framework for the autocreated branch.
framework
- The framework for the autocreated branch.public void setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the autocreated branch.
enableAutoBuild
- Enables auto building for the autocreated branch.public Boolean getEnableAutoBuild()
Enables auto building for the autocreated branch.
public AutoBranchCreationConfig withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the autocreated branch.
enableAutoBuild
- Enables auto building for the autocreated branch.public Boolean isEnableAutoBuild()
Enables auto building for the autocreated branch.
public Map<String,String> getEnvironmentVariables()
The environment variables for the autocreated branch.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables for the autocreated branch.
environmentVariables
- The environment variables for the autocreated branch.public AutoBranchCreationConfig withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables for the autocreated branch.
environmentVariables
- The environment variables for the autocreated branch.public AutoBranchCreationConfig addEnvironmentVariablesEntry(String key, String value)
public AutoBranchCreationConfig clearEnvironmentVariablesEntries()
public void setBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for the autocreated branch.
basicAuthCredentials
- The basic authorization credentials for the autocreated branch.public String getBasicAuthCredentials()
The basic authorization credentials for the autocreated branch.
public AutoBranchCreationConfig withBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for the autocreated branch.
basicAuthCredentials
- The basic authorization credentials for the autocreated branch.public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the autocreated branch.
enableBasicAuth
- Enables basic authorization for the autocreated branch.public Boolean getEnableBasicAuth()
Enables basic authorization for the autocreated branch.
public AutoBranchCreationConfig withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the autocreated branch.
enableBasicAuth
- Enables basic authorization for the autocreated branch.public Boolean isEnableBasicAuth()
Enables basic authorization for the autocreated branch.
public void setEnablePerformanceMode(Boolean enablePerformanceMode)
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.
enablePerformanceMode
- Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a
longer interval. Enabling performance mode will mean that hosting configuration or code changes can take
up to 10 minutes to roll out.public Boolean getEnablePerformanceMode()
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.
public AutoBranchCreationConfig withEnablePerformanceMode(Boolean enablePerformanceMode)
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.
enablePerformanceMode
- Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a
longer interval. Enabling performance mode will mean that hosting configuration or code changes can take
up to 10 minutes to roll out.public Boolean isEnablePerformanceMode()
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.
public void setBuildSpec(String buildSpec)
The build specification (build spec) for the autocreated branch.
buildSpec
- The build specification (build spec) for the autocreated branch.public String getBuildSpec()
The build specification (build spec) for the autocreated branch.
public AutoBranchCreationConfig withBuildSpec(String buildSpec)
The build specification (build spec) for the autocreated branch.
buildSpec
- The build specification (build spec) for the autocreated branch.public void setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request preview for the autocreated branch.
enablePullRequestPreview
- Enables pull request preview for the autocreated branch.public Boolean getEnablePullRequestPreview()
Enables pull request preview for the autocreated branch.
public AutoBranchCreationConfig withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request preview for the autocreated branch.
enablePullRequestPreview
- Enables pull request preview for the autocreated branch.public Boolean isEnablePullRequestPreview()
Enables pull request preview for the autocreated 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.