@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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()
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and
read-only deploy key.
|
AutoBranchCreationConfig |
getAutoBranchCreationConfig()
Automated branch creation config for the Amplify App.
|
List<String> |
getAutoBranchCreationPatterns()
Automated branch creation glob patterns for the Amplify App.
|
String |
getBasicAuthCredentials()
Credentials for Basic Authorization for an Amplify App.
|
String |
getBuildSpec()
BuildSpec for an Amplify App
|
List<CustomRule> |
getCustomRules()
Custom rewrite / redirect rules for an Amplify App.
|
String |
getDescription()
Description for an Amplify App
|
Boolean |
getEnableAutoBranchCreation()
Enables automated branch creation for the Amplify App.
|
Boolean |
getEnableBasicAuth()
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
|
Boolean |
getEnableBranchAutoBuild()
Enable the auto building of branches for an Amplify App.
|
Map<String,String> |
getEnvironmentVariables()
Environment variables map for an Amplify App.
|
String |
getIamServiceRoleArn()
AWS IAM service role for an Amplify App
|
String |
getName()
Name for the Amplify App
|
String |
getOauthToken()
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy
key.
|
String |
getPlatform()
Platform / framework for an Amplify App
|
String |
getRepository()
Repository for an Amplify App
|
Map<String,String> |
getTags()
Tag for an Amplify App
|
int |
hashCode() |
Boolean |
isEnableAutoBranchCreation()
Enables automated branch creation for the Amplify App.
|
Boolean |
isEnableBasicAuth()
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
|
Boolean |
isEnableBranchAutoBuild()
Enable the auto building of branches for an Amplify App.
|
void |
setAccessToken(String accessToken)
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and
read-only deploy key.
|
void |
setAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Automated branch creation config for the Amplify App.
|
void |
setAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Automated branch creation glob patterns for the Amplify App.
|
void |
setBasicAuthCredentials(String basicAuthCredentials)
Credentials for Basic Authorization for an Amplify App.
|
void |
setBuildSpec(String buildSpec)
BuildSpec for an Amplify App
|
void |
setCustomRules(Collection<CustomRule> customRules)
Custom rewrite / redirect rules for an Amplify App.
|
void |
setDescription(String description)
Description for an Amplify App
|
void |
setEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify App.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
|
void |
setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enable the auto building of branches for an Amplify App.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
Environment variables map for an Amplify App.
|
void |
setIamServiceRoleArn(String iamServiceRoleArn)
AWS IAM service role for an Amplify App
|
void |
setName(String name)
Name for the Amplify App
|
void |
setOauthToken(String oauthToken)
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy
key.
|
void |
setPlatform(String platform)
Platform / framework for an Amplify App
|
void |
setRepository(String repository)
Repository for an Amplify App
|
void |
setTags(Map<String,String> tags)
Tag for an Amplify App
|
String |
toString()
Returns a string representation of this object.
|
CreateAppRequest |
withAccessToken(String accessToken)
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and
read-only deploy key.
|
CreateAppRequest |
withAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Automated branch creation config for the Amplify App.
|
CreateAppRequest |
withAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Automated branch creation glob patterns for the Amplify App.
|
CreateAppRequest |
withAutoBranchCreationPatterns(String... autoBranchCreationPatterns)
Automated branch creation glob patterns for the Amplify App.
|
CreateAppRequest |
withBasicAuthCredentials(String basicAuthCredentials)
Credentials for Basic Authorization for an Amplify App.
|
CreateAppRequest |
withBuildSpec(String buildSpec)
BuildSpec for an Amplify App
|
CreateAppRequest |
withCustomRules(Collection<CustomRule> customRules)
Custom rewrite / redirect rules for an Amplify App.
|
CreateAppRequest |
withCustomRules(CustomRule... customRules)
Custom rewrite / redirect rules for an Amplify App.
|
CreateAppRequest |
withDescription(String description)
Description for an Amplify App
|
CreateAppRequest |
withEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify App.
|
CreateAppRequest |
withEnableBasicAuth(Boolean enableBasicAuth)
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
|
CreateAppRequest |
withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enable the auto building of branches for an Amplify App.
|
CreateAppRequest |
withEnvironmentVariables(Map<String,String> environmentVariables)
Environment variables map for an Amplify App.
|
CreateAppRequest |
withIamServiceRoleArn(String iamServiceRoleArn)
AWS IAM service role for an Amplify App
|
CreateAppRequest |
withName(String name)
Name for the Amplify App
|
CreateAppRequest |
withOauthToken(String oauthToken)
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy
key.
|
CreateAppRequest |
withPlatform(Platform platform)
Platform / framework for an Amplify App
|
CreateAppRequest |
withPlatform(String platform)
Platform / framework for an Amplify App
|
CreateAppRequest |
withRepository(String repository)
Repository for an Amplify App
|
CreateAppRequest |
withTags(Map<String,String> tags)
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)
Name for the Amplify App
name
- Name for the Amplify Apppublic String getName()
Name for the Amplify App
public CreateAppRequest withName(String name)
Name for the Amplify App
name
- Name for the Amplify Apppublic void setDescription(String description)
Description for an Amplify App
description
- Description for an Amplify Apppublic String getDescription()
Description for an Amplify App
public CreateAppRequest withDescription(String description)
Description for an Amplify App
description
- Description for an Amplify Apppublic void setRepository(String repository)
Repository for an Amplify App
repository
- Repository for an Amplify Apppublic String getRepository()
Repository for an Amplify App
public CreateAppRequest withRepository(String repository)
Repository for an Amplify App
repository
- Repository for an Amplify Apppublic void setPlatform(String platform)
Platform / framework for an Amplify App
platform
- Platform / framework for an Amplify AppPlatform
public String getPlatform()
Platform / framework for an Amplify App
Platform
public CreateAppRequest withPlatform(String platform)
Platform / framework for an Amplify App
platform
- Platform / framework for an Amplify AppPlatform
public CreateAppRequest withPlatform(Platform platform)
Platform / framework for an Amplify App
platform
- Platform / framework for an Amplify AppPlatform
public void setIamServiceRoleArn(String iamServiceRoleArn)
AWS IAM service role for an Amplify App
iamServiceRoleArn
- AWS IAM service role for an Amplify Apppublic String getIamServiceRoleArn()
AWS IAM service role for an Amplify App
public CreateAppRequest withIamServiceRoleArn(String iamServiceRoleArn)
AWS IAM service role for an Amplify App
iamServiceRoleArn
- AWS IAM service role for an Amplify Apppublic void setOauthToken(String oauthToken)
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored.
oauthToken
- OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only
deploy key. OAuth token is not stored.public String getOauthToken()
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored.
public CreateAppRequest withOauthToken(String oauthToken)
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored.
oauthToken
- OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only
deploy key. OAuth token is not stored.public void setAccessToken(String accessToken)
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored.
accessToken
- Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and
read-only deploy key. Token is not stored.public String getAccessToken()
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored.
public CreateAppRequest withAccessToken(String accessToken)
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored.
accessToken
- Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and
read-only deploy key. Token is not stored.public Map<String,String> getEnvironmentVariables()
Environment variables map for an Amplify App.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
Environment variables map for an Amplify App.
environmentVariables
- Environment variables map for an Amplify App.public CreateAppRequest withEnvironmentVariables(Map<String,String> environmentVariables)
Environment variables map for an Amplify App.
environmentVariables
- Environment variables map for an Amplify App.public CreateAppRequest addEnvironmentVariablesEntry(String key, String value)
public CreateAppRequest clearEnvironmentVariablesEntries()
public void setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enable the auto building of branches for an Amplify App.
enableBranchAutoBuild
- Enable the auto building of branches for an Amplify App.public Boolean getEnableBranchAutoBuild()
Enable the auto building of branches for an Amplify App.
public CreateAppRequest withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enable the auto building of branches for an Amplify App.
enableBranchAutoBuild
- Enable the auto building of branches for an Amplify App.public Boolean isEnableBranchAutoBuild()
Enable the auto building of branches for an Amplify App.
public void setEnableBasicAuth(Boolean enableBasicAuth)
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
enableBasicAuth
- Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.public Boolean getEnableBasicAuth()
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
public CreateAppRequest withEnableBasicAuth(Boolean enableBasicAuth)
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
enableBasicAuth
- Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.public Boolean isEnableBasicAuth()
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
public void setBasicAuthCredentials(String basicAuthCredentials)
Credentials for Basic Authorization for an Amplify App.
basicAuthCredentials
- Credentials for Basic Authorization for an Amplify App.public String getBasicAuthCredentials()
Credentials for Basic Authorization for an Amplify App.
public CreateAppRequest withBasicAuthCredentials(String basicAuthCredentials)
Credentials for Basic Authorization for an Amplify App.
basicAuthCredentials
- Credentials for Basic Authorization for an Amplify App.public List<CustomRule> getCustomRules()
Custom rewrite / redirect rules for an Amplify App.
public void setCustomRules(Collection<CustomRule> customRules)
Custom rewrite / redirect rules for an Amplify App.
customRules
- Custom rewrite / redirect rules for an Amplify App.public CreateAppRequest withCustomRules(CustomRule... customRules)
Custom rewrite / 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
- Custom rewrite / redirect rules for an Amplify App.public CreateAppRequest withCustomRules(Collection<CustomRule> customRules)
Custom rewrite / redirect rules for an Amplify App.
customRules
- Custom rewrite / redirect rules for an Amplify App.public void setTags(Map<String,String> tags)
Tag for an Amplify App
tags
- Tag for an Amplify Apppublic CreateAppRequest withTags(Map<String,String> tags)
Tag for an Amplify App
tags
- Tag for an Amplify Apppublic CreateAppRequest addTagsEntry(String key, String value)
public CreateAppRequest clearTagsEntries()
public void setBuildSpec(String buildSpec)
BuildSpec for an Amplify App
buildSpec
- BuildSpec for an Amplify Apppublic String getBuildSpec()
BuildSpec for an Amplify App
public CreateAppRequest withBuildSpec(String buildSpec)
BuildSpec for an Amplify App
buildSpec
- BuildSpec for an Amplify Apppublic void setEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify App.
enableAutoBranchCreation
- Enables automated branch creation for the Amplify App.public Boolean getEnableAutoBranchCreation()
Enables automated branch creation for the Amplify App.
public CreateAppRequest withEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify App.
enableAutoBranchCreation
- Enables automated branch creation for the Amplify App.public Boolean isEnableAutoBranchCreation()
Enables automated branch creation for the Amplify App.
public List<String> getAutoBranchCreationPatterns()
Automated branch creation glob patterns for the Amplify App.
public void setAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Automated branch creation glob patterns for the Amplify App.
autoBranchCreationPatterns
- Automated branch creation glob patterns for the Amplify App.public CreateAppRequest withAutoBranchCreationPatterns(String... autoBranchCreationPatterns)
Automated branch creation glob patterns for the 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
- Automated branch creation glob patterns for the Amplify App.public CreateAppRequest withAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Automated branch creation glob patterns for the Amplify App.
autoBranchCreationPatterns
- Automated branch creation glob patterns for the Amplify App.public void setAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Automated branch creation config for the Amplify App.
autoBranchCreationConfig
- Automated branch creation config for the Amplify App.public AutoBranchCreationConfig getAutoBranchCreationConfig()
Automated branch creation config for the Amplify App.
public CreateAppRequest withAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Automated branch creation config for the Amplify App.
autoBranchCreationConfig
- Automated branch creation config for the Amplify App.public String toString()
toString
in class Object
Object.toString()
public CreateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.