@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request structure used to create apps in Amplify.
NOOP
Constructor and Description |
---|
CreateAppRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAppRequest |
addEnvironmentVariablesEntry(String key,
String value)
Add a single EnvironmentVariables entry
|
CreateAppRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAppRequest |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
CreateAppRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAppRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessToken()
The personal access token for a GitHub repository for an Amplify app.
|
AutoBranchCreationConfig |
getAutoBranchCreationConfig()
The automated branch creation configuration for an Amplify app.
|
List<String> |
getAutoBranchCreationPatterns()
The automated branch creation glob patterns for an Amplify app.
|
String |
getBasicAuthCredentials()
The credentials for basic authorization for an Amplify app.
|
String |
getBuildSpec()
The build specification (build spec) for an Amplify app.
|
String |
getCustomHeaders()
The custom HTTP headers for an Amplify app.
|
List<CustomRule> |
getCustomRules()
The custom rewrite and redirect rules for an Amplify app.
|
String |
getDescription()
The description of the Amplify app.
|
Boolean |
getEnableAutoBranchCreation()
Enables automated branch creation for an Amplify app.
|
Boolean |
getEnableBasicAuth()
Enables basic authorization for an Amplify app.
|
Boolean |
getEnableBranchAutoBuild()
Enables the auto building of branches for an Amplify app.
|
Boolean |
getEnableBranchAutoDeletion()
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
|
Map<String,String> |
getEnvironmentVariables()
The environment variables map for an Amplify app.
|
String |
getIamServiceRoleArn()
The AWS Identity and Access Management (IAM) service role for an Amplify app.
|
String |
getName()
The name of the Amplify app.
|
String |
getOauthToken()
The OAuth token for a third-party source control system for an Amplify app.
|
String |
getPlatform()
The platform for the Amplify app.
|
String |
getRepository()
The Git repository for the Amplify app.
|
Map<String,String> |
getTags()
The tag for an Amplify app.
|
int |
hashCode() |
Boolean |
isEnableAutoBranchCreation()
Enables automated branch creation for an Amplify app.
|
Boolean |
isEnableBasicAuth()
Enables basic authorization for an Amplify app.
|
Boolean |
isEnableBranchAutoBuild()
Enables the auto building of branches for an Amplify app.
|
Boolean |
isEnableBranchAutoDeletion()
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
|
void |
setAccessToken(String accessToken)
The personal access token for a GitHub repository for an Amplify app.
|
void |
setAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
The automated branch creation configuration for an Amplify app.
|
void |
setAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
The automated branch creation glob patterns for an Amplify app.
|
void |
setBasicAuthCredentials(String basicAuthCredentials)
The credentials for basic authorization for an Amplify app.
|
void |
setBuildSpec(String buildSpec)
The build specification (build spec) for an Amplify app.
|
void |
setCustomHeaders(String customHeaders)
The custom HTTP headers for an Amplify app.
|
void |
setCustomRules(Collection<CustomRule> customRules)
The custom rewrite and redirect rules for an Amplify app.
|
void |
setDescription(String description)
The description of the Amplify app.
|
void |
setEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for an Amplify app.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for an Amplify app.
|
void |
setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto building of branches for an Amplify app.
|
void |
setEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables map for an Amplify app.
|
void |
setIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for an Amplify app.
|
void |
setName(String name)
The name of the Amplify app.
|
void |
setOauthToken(String oauthToken)
The OAuth token for a third-party source control system for an Amplify app.
|
void |
setPlatform(String platform)
The platform for the Amplify app.
|
void |
setRepository(String repository)
The Git repository for the Amplify app.
|
void |
setTags(Map<String,String> tags)
The tag for an Amplify app.
|
String |
toString()
Returns a string representation of this object.
|
CreateAppRequest |
withAccessToken(String accessToken)
The personal access token for a GitHub repository for an Amplify app.
|
CreateAppRequest |
withAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
The automated branch creation configuration for an Amplify app.
|
CreateAppRequest |
withAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
The automated branch creation glob patterns for an Amplify app.
|
CreateAppRequest |
withAutoBranchCreationPatterns(String... autoBranchCreationPatterns)
The automated branch creation glob patterns for an Amplify app.
|
CreateAppRequest |
withBasicAuthCredentials(String basicAuthCredentials)
The credentials for basic authorization for an Amplify app.
|
CreateAppRequest |
withBuildSpec(String buildSpec)
The build specification (build spec) for an Amplify app.
|
CreateAppRequest |
withCustomHeaders(String customHeaders)
The custom HTTP headers for an Amplify app.
|
CreateAppRequest |
withCustomRules(Collection<CustomRule> customRules)
The custom rewrite and redirect rules for an Amplify app.
|
CreateAppRequest |
withCustomRules(CustomRule... customRules)
The custom rewrite and redirect rules for an Amplify app.
|
CreateAppRequest |
withDescription(String description)
The description of the Amplify app.
|
CreateAppRequest |
withEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for an Amplify app.
|
CreateAppRequest |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for an Amplify app.
|
CreateAppRequest |
withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto building of branches for an Amplify app.
|
CreateAppRequest |
withEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
|
CreateAppRequest |
withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables map for an Amplify app.
|
CreateAppRequest |
withIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for an Amplify app.
|
CreateAppRequest |
withName(String name)
The name of the Amplify app.
|
CreateAppRequest |
withOauthToken(String oauthToken)
The OAuth token for a third-party source control system for an Amplify app.
|
CreateAppRequest |
withPlatform(Platform platform)
The platform for the Amplify app.
|
CreateAppRequest |
withPlatform(String platform)
The platform for the Amplify app.
|
CreateAppRequest |
withRepository(String repository)
The Git repository for the Amplify app.
|
CreateAppRequest |
withTags(Map<String,String> tags)
The tag for an Amplify app.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the Amplify app.
name
- The name of the Amplify app.public String getName()
The name of the Amplify app.
public CreateAppRequest withName(String name)
The name of the Amplify app.
name
- The name of the Amplify app.public void setDescription(String description)
The description of the Amplify app.
description
- The description of the Amplify app.public String getDescription()
The description of the Amplify app.
public CreateAppRequest withDescription(String description)
The description of the Amplify app.
description
- The description of the Amplify app.public void setRepository(String repository)
The Git repository for the Amplify app.
repository
- The Git repository for the Amplify app.public String getRepository()
The Git repository for the Amplify app.
public CreateAppRequest withRepository(String repository)
The Git repository for the Amplify app.
repository
- The Git repository for the Amplify app.public void setPlatform(String platform)
The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic
server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify
Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
platform
- The platform for the Amplify app. For a static app, set the platform type to WEB
. For a
dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app
requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.Platform
public String getPlatform()
The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic
server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify
Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
WEB
. For a
dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app
requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.Platform
public CreateAppRequest withPlatform(String platform)
The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic
server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify
Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
platform
- The platform for the Amplify app. For a static app, set the platform type to WEB
. For a
dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app
requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.Platform
public CreateAppRequest withPlatform(Platform platform)
The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic
server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify
Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
platform
- The platform for the Amplify app. For a static app, set the platform type to WEB
. For a
dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app
requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.Platform
public void setIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for an Amplify app.
iamServiceRoleArn
- The AWS Identity and Access Management (IAM) service role for an Amplify app.public String getIamServiceRoleArn()
The AWS Identity and Access Management (IAM) service role for an Amplify app.
public CreateAppRequest withIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for an Amplify app.
iamServiceRoleArn
- The AWS Identity and Access Management (IAM) service role for an Amplify app.public void setOauthToken(String oauthToken)
The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.
Use oauthToken
for repository providers other than GitHub, such as Bitbucket or CodeCommit. To
authorize access to GitHub as your repository provider, use accessToken
.
You must specify either oauthToken
or accessToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
oauthToken
- The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to
create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.
Use oauthToken
for repository providers other than GitHub, such as Bitbucket or CodeCommit.
To authorize access to GitHub as your repository provider, use accessToken
.
You must specify either oauthToken
or accessToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
public String getOauthToken()
The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.
Use oauthToken
for repository providers other than GitHub, such as Bitbucket or CodeCommit. To
authorize access to GitHub as your repository provider, use accessToken
.
You must specify either oauthToken
or accessToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
Use oauthToken
for repository providers other than GitHub, such as Bitbucket or CodeCommit.
To authorize access to GitHub as your repository provider, use accessToken
.
You must specify either oauthToken
or accessToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
public CreateAppRequest withOauthToken(String oauthToken)
The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.
Use oauthToken
for repository providers other than GitHub, such as Bitbucket or CodeCommit. To
authorize access to GitHub as your repository provider, use accessToken
.
You must specify either oauthToken
or accessToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
oauthToken
- The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to
create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.
Use oauthToken
for repository providers other than GitHub, such as Bitbucket or CodeCommit.
To authorize access to GitHub as your repository provider, use accessToken
.
You must specify either oauthToken
or accessToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
public void setAccessToken(String accessToken)
The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.
Use accessToken
for GitHub repositories only. To authorize access to a repository provider such as
Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
accessToken
- The personal access token for a GitHub repository for an Amplify app. The personal access token is used to
authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.
Use accessToken
for GitHub repositories only. To authorize access to a repository provider
such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
public String getAccessToken()
The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.
Use accessToken
for GitHub repositories only. To authorize access to a repository provider such as
Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
Use accessToken
for GitHub repositories only. To authorize access to a repository provider
such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
public CreateAppRequest withAccessToken(String accessToken)
The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.
Use accessToken
for GitHub repositories only. To authorize access to a repository provider such as
Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
accessToken
- The personal access token for a GitHub repository for an Amplify app. The personal access token is used to
authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.
Use accessToken
for GitHub repositories only. To authorize access to a repository provider
such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
public Map<String,String> getEnvironmentVariables()
The environment variables map for an Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables map for an Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
environmentVariables
- The environment variables map for an Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
public CreateAppRequest withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables map for an Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
environmentVariables
- The environment variables map for an Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
public CreateAppRequest addEnvironmentVariablesEntry(String key, String value)
public CreateAppRequest clearEnvironmentVariablesEntries()
public void setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto building of branches for an Amplify app.
enableBranchAutoBuild
- Enables the auto building of branches for an Amplify app.public Boolean getEnableBranchAutoBuild()
Enables the auto building of branches for an Amplify app.
public CreateAppRequest withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto building of branches for an Amplify app.
enableBranchAutoBuild
- Enables the auto building of branches for an Amplify app.public Boolean isEnableBranchAutoBuild()
Enables the auto building of branches for an Amplify app.
public void setEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
enableBranchAutoDeletion
- Automatically disconnects a branch in the Amplify console when you delete a branch from your Git
repository.public Boolean getEnableBranchAutoDeletion()
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
public CreateAppRequest withEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
enableBranchAutoDeletion
- Automatically disconnects a branch in the Amplify console when you delete a branch from your Git
repository.public Boolean isEnableBranchAutoDeletion()
Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
enableBasicAuth
- Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.public Boolean getEnableBasicAuth()
Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
public CreateAppRequest withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
enableBasicAuth
- Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.public Boolean isEnableBasicAuth()
Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
public void setBasicAuthCredentials(String basicAuthCredentials)
The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials
and provide them in the format user:password
.
basicAuthCredentials
- The credentials for basic authorization for an Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.public String getBasicAuthCredentials()
The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials
and provide them in the format user:password
.
user:password
.public CreateAppRequest withBasicAuthCredentials(String basicAuthCredentials)
The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials
and provide them in the format user:password
.
basicAuthCredentials
- The credentials for basic authorization for an Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.public List<CustomRule> getCustomRules()
The custom rewrite and redirect rules for an Amplify app.
public void setCustomRules(Collection<CustomRule> customRules)
The custom rewrite and redirect rules for an Amplify app.
customRules
- The custom rewrite and redirect rules for an Amplify app.public CreateAppRequest withCustomRules(CustomRule... customRules)
The custom rewrite and redirect rules for an Amplify app.
NOTE: This method appends the values to the existing list (if any). Use
setCustomRules(java.util.Collection)
or withCustomRules(java.util.Collection)
if you want to
override the existing values.
customRules
- The custom rewrite and redirect rules for an Amplify app.public CreateAppRequest withCustomRules(Collection<CustomRule> customRules)
The custom rewrite and redirect rules for an Amplify app.
customRules
- The custom rewrite and redirect rules for an Amplify app.public Map<String,String> getTags()
The tag for an Amplify app.
public void setTags(Map<String,String> tags)
The tag for an Amplify app.
tags
- The tag for an Amplify app.public CreateAppRequest withTags(Map<String,String> tags)
The tag for an Amplify app.
tags
- The tag for an Amplify app.public CreateAppRequest addTagsEntry(String key, String value)
public CreateAppRequest clearTagsEntries()
public void setBuildSpec(String buildSpec)
The build specification (build spec) for an Amplify app.
buildSpec
- The build specification (build spec) for an Amplify app.public String getBuildSpec()
The build specification (build spec) for an Amplify app.
public CreateAppRequest withBuildSpec(String buildSpec)
The build specification (build spec) for an Amplify app.
buildSpec
- The build specification (build spec) for an Amplify app.public void setCustomHeaders(String customHeaders)
The custom HTTP headers for an Amplify app.
customHeaders
- The custom HTTP headers for an Amplify app.public String getCustomHeaders()
The custom HTTP headers for an Amplify app.
public CreateAppRequest withCustomHeaders(String customHeaders)
The custom HTTP headers for an Amplify app.
customHeaders
- The custom HTTP headers for an Amplify app.public void setEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for an Amplify app.
enableAutoBranchCreation
- Enables automated branch creation for an Amplify app.public Boolean getEnableAutoBranchCreation()
Enables automated branch creation for an Amplify app.
public CreateAppRequest withEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for an Amplify app.
enableAutoBranchCreation
- Enables automated branch creation for an Amplify app.public Boolean isEnableAutoBranchCreation()
Enables automated branch creation for an Amplify app.
public List<String> getAutoBranchCreationPatterns()
The automated branch creation glob patterns for an Amplify app.
public void setAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
The automated branch creation glob patterns for an Amplify app.
autoBranchCreationPatterns
- The automated branch creation glob patterns for an Amplify app.public CreateAppRequest withAutoBranchCreationPatterns(String... autoBranchCreationPatterns)
The automated branch creation glob patterns for an Amplify app.
NOTE: This method appends the values to the existing list (if any). Use
setAutoBranchCreationPatterns(java.util.Collection)
or
withAutoBranchCreationPatterns(java.util.Collection)
if you want to override the existing values.
autoBranchCreationPatterns
- The automated branch creation glob patterns for an Amplify app.public CreateAppRequest withAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
The automated branch creation glob patterns for an Amplify app.
autoBranchCreationPatterns
- The automated branch creation glob patterns for an Amplify app.public void setAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
The automated branch creation configuration for an Amplify app.
autoBranchCreationConfig
- The automated branch creation configuration for an Amplify app.public AutoBranchCreationConfig getAutoBranchCreationConfig()
The automated branch creation configuration for an Amplify app.
public CreateAppRequest withAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
The automated branch creation configuration for an Amplify app.
autoBranchCreationConfig
- The automated branch creation configuration for an Amplify app.public String toString()
toString
in class Object
Object.toString()
public CreateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()