@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class App extends Object implements Serializable, Cloneable, StructuredPojo
Represents the different branches of a repository for building, deploying, and hosting an Amplify app.
Constructor and Description |
---|
App() |
Modifier and Type | Method and Description |
---|---|
App |
addEnvironmentVariablesEntry(String key,
String value)
Add a single EnvironmentVariables entry
|
App |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
App |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
App |
clearTagsEntries()
Removes all the entries added into Tags.
|
App |
clone() |
boolean |
equals(Object obj) |
String |
getAppArn()
The Amazon Resource Name (ARN) of the Amplify app.
|
String |
getAppId()
The unique ID of the Amplify app.
|
AutoBranchCreationConfig |
getAutoBranchCreationConfig()
Describes the automated branch creation configuration for the Amplify app.
|
List<String> |
getAutoBranchCreationPatterns()
Describes the automated branch creation glob patterns for the Amplify app.
|
String |
getBasicAuthCredentials()
The basic authorization credentials for branches for the Amplify app.
|
String |
getBuildSpec()
Describes the content of the build specification (build spec) for the Amplify app.
|
Date |
getCreateTime()
Creates a date and time for the Amplify app.
|
String |
getCustomHeaders()
Describes the custom HTTP headers for the Amplify app.
|
List<CustomRule> |
getCustomRules()
Describes the custom redirect and rewrite rules for the Amplify app.
|
String |
getDefaultDomain()
The default domain for the Amplify app.
|
String |
getDescription()
The description for the Amplify app.
|
Boolean |
getEnableAutoBranchCreation()
Enables automated branch creation for the Amplify app.
|
Boolean |
getEnableBasicAuth()
Enables basic authorization for the Amplify app's branches.
|
Boolean |
getEnableBranchAutoBuild()
Enables the auto-building of branches for the Amplify app.
|
Boolean |
getEnableBranchAutoDeletion()
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
|
Map<String,String> |
getEnvironmentVariables()
The environment variables for the Amplify app.
|
String |
getIamServiceRoleArn()
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
|
String |
getName()
The name for the Amplify app.
|
String |
getPlatform()
The platform for the Amplify app.
|
ProductionBranch |
getProductionBranch()
Describes the information about a production branch of the Amplify app.
|
String |
getRepository()
The Git repository for the Amplify app.
|
String |
getRepositoryCloneMethod()
|
Map<String,String> |
getTags()
The tag for the Amplify app.
|
Date |
getUpdateTime()
Updates the date and time for the Amplify app.
|
int |
hashCode() |
Boolean |
isEnableAutoBranchCreation()
Enables automated branch creation for the Amplify app.
|
Boolean |
isEnableBasicAuth()
Enables basic authorization for the Amplify app's branches.
|
Boolean |
isEnableBranchAutoBuild()
Enables the auto-building of branches for the Amplify app.
|
Boolean |
isEnableBranchAutoDeletion()
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppArn(String appArn)
The Amazon Resource Name (ARN) of the Amplify app.
|
void |
setAppId(String appId)
The unique ID of the Amplify app.
|
void |
setAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
|
void |
setAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
|
void |
setBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for branches for the Amplify app.
|
void |
setBuildSpec(String buildSpec)
Describes the content of the build specification (build spec) for the Amplify app.
|
void |
setCreateTime(Date createTime)
Creates a date and time for the Amplify app.
|
void |
setCustomHeaders(String customHeaders)
Describes the custom HTTP headers for the Amplify app.
|
void |
setCustomRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
void |
setDefaultDomain(String defaultDomain)
The default domain for the Amplify app.
|
void |
setDescription(String description)
The description for the Amplify app.
|
void |
setEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify app.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the Amplify app's branches.
|
void |
setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto-building of branches for the Amplify app.
|
void |
setEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables for the Amplify app.
|
void |
setIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
|
void |
setName(String name)
The name for the Amplify app.
|
void |
setPlatform(String platform)
The platform for the Amplify app.
|
void |
setProductionBranch(ProductionBranch productionBranch)
Describes the information about a production branch of the Amplify app.
|
void |
setRepository(String repository)
The Git repository for the Amplify app.
|
void |
setRepositoryCloneMethod(String repositoryCloneMethod)
|
void |
setTags(Map<String,String> tags)
The tag for the Amplify app.
|
void |
setUpdateTime(Date updateTime)
Updates the date and time for the Amplify app.
|
String |
toString()
Returns a string representation of this object.
|
App |
withAppArn(String appArn)
The Amazon Resource Name (ARN) of the Amplify app.
|
App |
withAppId(String appId)
The unique ID of the Amplify app.
|
App |
withAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
|
App |
withAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
|
App |
withAutoBranchCreationPatterns(String... autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
|
App |
withBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for branches for the Amplify app.
|
App |
withBuildSpec(String buildSpec)
Describes the content of the build specification (build spec) for the Amplify app.
|
App |
withCreateTime(Date createTime)
Creates a date and time for the Amplify app.
|
App |
withCustomHeaders(String customHeaders)
Describes the custom HTTP headers for the Amplify app.
|
App |
withCustomRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
App |
withCustomRules(CustomRule... customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
App |
withDefaultDomain(String defaultDomain)
The default domain for the Amplify app.
|
App |
withDescription(String description)
The description for the Amplify app.
|
App |
withEnableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify app.
|
App |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the Amplify app's branches.
|
App |
withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto-building of branches for the Amplify app.
|
App |
withEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
|
App |
withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables for the Amplify app.
|
App |
withIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
|
App |
withName(String name)
The name for the Amplify app.
|
App |
withPlatform(Platform platform)
The platform for the Amplify app.
|
App |
withPlatform(String platform)
The platform for the Amplify app.
|
App |
withProductionBranch(ProductionBranch productionBranch)
Describes the information about a production branch of the Amplify app.
|
App |
withRepository(String repository)
The Git repository for the Amplify app.
|
App |
withRepositoryCloneMethod(RepositoryCloneMethod repositoryCloneMethod)
|
App |
withRepositoryCloneMethod(String repositoryCloneMethod)
|
App |
withTags(Map<String,String> tags)
The tag for the Amplify app.
|
App |
withUpdateTime(Date updateTime)
Updates the date and time for the Amplify app.
|
public void setAppId(String appId)
The unique ID of the Amplify app.
appId
- The unique ID of the Amplify app.public String getAppId()
The unique ID of the Amplify app.
public App withAppId(String appId)
The unique ID of the Amplify app.
appId
- The unique ID of the Amplify app.public void setAppArn(String appArn)
The Amazon Resource Name (ARN) of the Amplify app.
appArn
- The Amazon Resource Name (ARN) of the Amplify app.public String getAppArn()
The Amazon Resource Name (ARN) of the Amplify app.
public App withAppArn(String appArn)
The Amazon Resource Name (ARN) of the Amplify app.
appArn
- The Amazon Resource Name (ARN) of the Amplify app.public void setName(String name)
The name for the Amplify app.
name
- The name for the Amplify app.public String getName()
The name for the Amplify app.
public App withName(String name)
The name for the Amplify app.
name
- The name for the Amplify app.public Map<String,String> getTags()
The tag for the Amplify app.
public void setTags(Map<String,String> tags)
The tag for the Amplify app.
tags
- The tag for the Amplify app.public App withTags(Map<String,String> tags)
The tag for the Amplify app.
tags
- The tag for the Amplify app.public App clearTagsEntries()
public void setDescription(String description)
The description for the Amplify app.
description
- The description for the Amplify app.public String getDescription()
The description for the Amplify app.
public App withDescription(String description)
The description for the Amplify app.
description
- The description for 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 App 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 App 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 App 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 setCreateTime(Date createTime)
Creates a date and time for the Amplify app.
createTime
- Creates a date and time for the Amplify app.public Date getCreateTime()
Creates a date and time for the Amplify app.
public App withCreateTime(Date createTime)
Creates a date and time for the Amplify app.
createTime
- Creates a date and time for the Amplify app.public void setUpdateTime(Date updateTime)
Updates the date and time for the Amplify app.
updateTime
- Updates the date and time for the Amplify app.public Date getUpdateTime()
Updates the date and time for the Amplify app.
public App withUpdateTime(Date updateTime)
Updates the date and time for the Amplify app.
updateTime
- Updates the date and time for the Amplify app.public void setIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
iamServiceRoleArn
- The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the
Amplify app.public String getIamServiceRoleArn()
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
public App withIamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
iamServiceRoleArn
- The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the
Amplify app.public Map<String,String> getEnvironmentVariables()
The environment variables for the 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 for the 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 for the 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 App withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables for the 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 for the 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 App addEnvironmentVariablesEntry(String key, String value)
public App clearEnvironmentVariablesEntries()
public void setDefaultDomain(String defaultDomain)
The default domain for the Amplify app.
defaultDomain
- The default domain for the Amplify app.public String getDefaultDomain()
The default domain for the Amplify app.
public App withDefaultDomain(String defaultDomain)
The default domain for the Amplify app.
defaultDomain
- The default domain for the Amplify app.public void setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto-building of branches for the Amplify app.
enableBranchAutoBuild
- Enables the auto-building of branches for the Amplify app.public Boolean getEnableBranchAutoBuild()
Enables the auto-building of branches for the Amplify app.
public App withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto-building of branches for the Amplify app.
enableBranchAutoBuild
- Enables the auto-building of branches for the Amplify app.public Boolean isEnableBranchAutoBuild()
Enables the auto-building of branches for the Amplify app.
public void setEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
enableBranchAutoDeletion
- Automatically disconnect a branch in the Amplify console when you delete a branch from your Git
repository.public Boolean getEnableBranchAutoDeletion()
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
public App withEnableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
enableBranchAutoDeletion
- Automatically disconnect a branch in the Amplify console when you delete a branch from your Git
repository.public Boolean isEnableBranchAutoDeletion()
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the Amplify app's branches.
enableBasicAuth
- Enables basic authorization for the Amplify app's branches.public Boolean getEnableBasicAuth()
Enables basic authorization for the Amplify app's branches.
public App withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the Amplify app's branches.
enableBasicAuth
- Enables basic authorization for the Amplify app's branches.public Boolean isEnableBasicAuth()
Enables basic authorization for the Amplify app's branches.
public void setBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.
basicAuthCredentials
- The basic authorization credentials for branches for the Amplify app. You must base64-encode the
authorization credentials and provide them in the format user:password
.public String getBasicAuthCredentials()
The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.
user:password
.public App withBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.
basicAuthCredentials
- The basic authorization credentials for branches for the Amplify app. You must base64-encode the
authorization credentials and provide them in the format user:password
.public List<CustomRule> getCustomRules()
Describes the custom redirect and rewrite rules for the Amplify app.
public void setCustomRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
customRules
- Describes the custom redirect and rewrite rules for the Amplify app.public App withCustomRules(CustomRule... customRules)
Describes the custom redirect and rewrite rules for the 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
- Describes the custom redirect and rewrite rules for the Amplify app.public App withCustomRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
customRules
- Describes the custom redirect and rewrite rules for the Amplify app.public void setProductionBranch(ProductionBranch productionBranch)
Describes the information about a production branch of the Amplify app.
productionBranch
- Describes the information about a production branch of the Amplify app.public ProductionBranch getProductionBranch()
Describes the information about a production branch of the Amplify app.
public App withProductionBranch(ProductionBranch productionBranch)
Describes the information about a production branch of the Amplify app.
productionBranch
- Describes the information about a production branch of the Amplify app.public void setBuildSpec(String buildSpec)
Describes the content of the build specification (build spec) for the Amplify app.
buildSpec
- Describes the content of the build specification (build spec) for the Amplify app.public String getBuildSpec()
Describes the content of the build specification (build spec) for the Amplify app.
public App withBuildSpec(String buildSpec)
Describes the content of the build specification (build spec) for the Amplify app.
buildSpec
- Describes the content of the build specification (build spec) for the Amplify app.public void setCustomHeaders(String customHeaders)
Describes the custom HTTP headers for the Amplify app.
customHeaders
- Describes the custom HTTP headers for the Amplify app.public String getCustomHeaders()
Describes the custom HTTP headers for the Amplify app.
public App withCustomHeaders(String customHeaders)
Describes the custom HTTP headers for the Amplify app.
customHeaders
- Describes the custom HTTP headers for the Amplify app.public 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 App 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()
Describes the automated branch creation glob patterns for the Amplify app.
public void setAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
autoBranchCreationPatterns
- Describes the automated branch creation glob patterns for the Amplify app.public App withAutoBranchCreationPatterns(String... autoBranchCreationPatterns)
Describes the 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
- Describes the automated branch creation glob patterns for the Amplify app.public App withAutoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
autoBranchCreationPatterns
- Describes the automated branch creation glob patterns for the Amplify app.public void setAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
autoBranchCreationConfig
- Describes the automated branch creation configuration for the Amplify app.public AutoBranchCreationConfig getAutoBranchCreationConfig()
Describes the automated branch creation configuration for the Amplify app.
public App withAutoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
autoBranchCreationConfig
- Describes the automated branch creation configuration for the Amplify app.public void setRepositoryCloneMethod(String repositoryCloneMethod)
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository, SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and Bitbucket repositories.
repositoryCloneMethod
- This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository,
SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and
Bitbucket repositories.
RepositoryCloneMethod
public String getRepositoryCloneMethod()
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository, SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and Bitbucket repositories.
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository,
SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and
Bitbucket repositories.
RepositoryCloneMethod
public App withRepositoryCloneMethod(String repositoryCloneMethod)
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository, SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and Bitbucket repositories.
repositoryCloneMethod
- This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository,
SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and
Bitbucket repositories.
RepositoryCloneMethod
public App withRepositoryCloneMethod(RepositoryCloneMethod repositoryCloneMethod)
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository, SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and Bitbucket repositories.
repositoryCloneMethod
- This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN
for a GitHub repository,
SIGV4
for an Amazon Web Services CodeCommit repository, and SSH
for GitLab and
Bitbucket repositories.
RepositoryCloneMethod
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.