@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Branch extends Object implements Serializable, Cloneable, StructuredPojo
The branch for an Amplify app, which maps to a third-party repository branch.
Constructor and Description |
---|
Branch() |
Modifier and Type | Method and Description |
---|---|
Branch |
addEnvironmentVariablesEntry(String key,
String value)
Add a single EnvironmentVariables entry
|
Branch |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Branch |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
Branch |
clearTagsEntries()
Removes all the entries added into Tags.
|
Branch |
clone() |
boolean |
equals(Object obj) |
String |
getActiveJobId()
The ID of the active job for a branch of an Amplify app.
|
List<String> |
getAssociatedResources()
A list of custom resources that are linked to this branch.
|
Backend |
getBackend() |
String |
getBackendEnvironmentArn()
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
String |
getBasicAuthCredentials()
The basic authorization credentials for a branch of an Amplify app.
|
String |
getBranchArn()
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
|
String |
getBranchName()
The name for the branch that is part of an Amplify app.
|
String |
getBuildSpec()
The build specification (build spec) content for the branch of an Amplify app.
|
Date |
getCreateTime()
The creation date and time for a branch that is part of an Amplify app.
|
List<String> |
getCustomDomains()
The custom domains for a branch of an Amplify app.
|
String |
getDescription()
The description for the branch that is part of an Amplify app.
|
String |
getDestinationBranch()
The destination branch if the branch is a pull request branch.
|
String |
getDisplayName()
The display name for the branch.
|
Boolean |
getEnableAutoBuild()
Enables auto-building on push for a branch of an Amplify app.
|
Boolean |
getEnableBasicAuth()
Enables basic authorization for a branch of an Amplify app.
|
Boolean |
getEnableNotification()
Enables notifications for a branch that is part of an Amplify app.
|
Boolean |
getEnablePerformanceMode()
Enables performance mode for the branch.
|
Boolean |
getEnablePullRequestPreview()
Enables pull request previews for the branch.
|
Map<String,String> |
getEnvironmentVariables()
The environment variables specific to a branch of an Amplify app.
|
String |
getFramework()
The framework for a branch of an Amplify app.
|
String |
getPullRequestEnvironmentName()
The Amplify environment name for the pull request.
|
String |
getSourceBranch()
The source branch if the branch is a pull request branch.
|
String |
getStage()
The current stage for the branch that is part of an Amplify app.
|
Map<String,String> |
getTags()
The tag for the branch of an Amplify app.
|
String |
getThumbnailUrl()
The thumbnail URL for the branch of an Amplify app.
|
String |
getTotalNumberOfJobs()
The total number of jobs that are part of an Amplify app.
|
String |
getTtl()
The content Time to Live (TTL) for the website in seconds.
|
Date |
getUpdateTime()
The last updated date and time for a branch that is part of an Amplify app.
|
int |
hashCode() |
Boolean |
isEnableAutoBuild()
Enables auto-building on push for a branch of an Amplify app.
|
Boolean |
isEnableBasicAuth()
Enables basic authorization for a branch of an Amplify app.
|
Boolean |
isEnableNotification()
Enables notifications for a branch that is part of an Amplify app.
|
Boolean |
isEnablePerformanceMode()
Enables performance mode for the branch.
|
Boolean |
isEnablePullRequestPreview()
Enables pull request previews for the branch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveJobId(String activeJobId)
The ID of the active job for a branch of an Amplify app.
|
void |
setAssociatedResources(Collection<String> associatedResources)
A list of custom resources that are linked to this branch.
|
void |
setBackend(Backend backend) |
void |
setBackendEnvironmentArn(String backendEnvironmentArn)
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
void |
setBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for a branch of an Amplify app.
|
void |
setBranchArn(String branchArn)
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
|
void |
setBranchName(String branchName)
The name for the branch that is part of an Amplify app.
|
void |
setBuildSpec(String buildSpec)
The build specification (build spec) content for the branch of an Amplify app.
|
void |
setCreateTime(Date createTime)
The creation date and time for a branch that is part of an Amplify app.
|
void |
setCustomDomains(Collection<String> customDomains)
The custom domains for a branch of an Amplify app.
|
void |
setDescription(String description)
The description for the branch that is part of an Amplify app.
|
void |
setDestinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
|
void |
setDisplayName(String displayName)
The display name for the branch.
|
void |
setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch of an Amplify app.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for a branch of an Amplify app.
|
void |
setEnableNotification(Boolean enableNotification)
Enables notifications for a branch that is part of an Amplify app.
|
void |
setEnablePerformanceMode(Boolean enablePerformanceMode)
Enables performance mode for the branch.
|
void |
setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for the branch.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables specific to a branch of an Amplify app.
|
void |
setFramework(String framework)
The framework for a branch of an Amplify app.
|
void |
setPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
|
void |
setSourceBranch(String sourceBranch)
The source branch if the branch is a pull request branch.
|
void |
setStage(String stage)
The current stage for the branch that is part of an Amplify app.
|
void |
setTags(Map<String,String> tags)
The tag for the branch of an Amplify app.
|
void |
setThumbnailUrl(String thumbnailUrl)
The thumbnail URL for the branch of an Amplify app.
|
void |
setTotalNumberOfJobs(String totalNumberOfJobs)
The total number of jobs that are part of an Amplify app.
|
void |
setTtl(String ttl)
The content Time to Live (TTL) for the website in seconds.
|
void |
setUpdateTime(Date updateTime)
The last updated date and time for a branch that is part of an Amplify app.
|
String |
toString()
Returns a string representation of this object.
|
Branch |
withActiveJobId(String activeJobId)
The ID of the active job for a branch of an Amplify app.
|
Branch |
withAssociatedResources(Collection<String> associatedResources)
A list of custom resources that are linked to this branch.
|
Branch |
withAssociatedResources(String... associatedResources)
A list of custom resources that are linked to this branch.
|
Branch |
withBackend(Backend backend) |
Branch |
withBackendEnvironmentArn(String backendEnvironmentArn)
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
Branch |
withBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for a branch of an Amplify app.
|
Branch |
withBranchArn(String branchArn)
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
|
Branch |
withBranchName(String branchName)
The name for the branch that is part of an Amplify app.
|
Branch |
withBuildSpec(String buildSpec)
The build specification (build spec) content for the branch of an Amplify app.
|
Branch |
withCreateTime(Date createTime)
The creation date and time for a branch that is part of an Amplify app.
|
Branch |
withCustomDomains(Collection<String> customDomains)
The custom domains for a branch of an Amplify app.
|
Branch |
withCustomDomains(String... customDomains)
The custom domains for a branch of an Amplify app.
|
Branch |
withDescription(String description)
The description for the branch that is part of an Amplify app.
|
Branch |
withDestinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
|
Branch |
withDisplayName(String displayName)
The display name for the branch.
|
Branch |
withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch of an Amplify app.
|
Branch |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for a branch of an Amplify app.
|
Branch |
withEnableNotification(Boolean enableNotification)
Enables notifications for a branch that is part of an Amplify app.
|
Branch |
withEnablePerformanceMode(Boolean enablePerformanceMode)
Enables performance mode for the branch.
|
Branch |
withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for the branch.
|
Branch |
withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables specific to a branch of an Amplify app.
|
Branch |
withFramework(String framework)
The framework for a branch of an Amplify app.
|
Branch |
withPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
|
Branch |
withSourceBranch(String sourceBranch)
The source branch if the branch is a pull request branch.
|
Branch |
withStage(Stage stage)
The current stage for the branch that is part of an Amplify app.
|
Branch |
withStage(String stage)
The current stage for the branch that is part of an Amplify app.
|
Branch |
withTags(Map<String,String> tags)
The tag for the branch of an Amplify app.
|
Branch |
withThumbnailUrl(String thumbnailUrl)
The thumbnail URL for the branch of an Amplify app.
|
Branch |
withTotalNumberOfJobs(String totalNumberOfJobs)
The total number of jobs that are part of an Amplify app.
|
Branch |
withTtl(String ttl)
The content Time to Live (TTL) for the website in seconds.
|
Branch |
withUpdateTime(Date updateTime)
The last updated date and time for a branch that is part of an Amplify app.
|
public void setBranchArn(String branchArn)
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
branchArn
- The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.public String getBranchArn()
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
public Branch withBranchArn(String branchArn)
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
branchArn
- The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.public void setBranchName(String branchName)
The name for the branch that is part of an Amplify app.
branchName
- The name for the branch that is part of an Amplify app.public String getBranchName()
The name for the branch that is part of an Amplify app.
public Branch withBranchName(String branchName)
The name for the branch that is part of an Amplify app.
branchName
- The name for the branch that is part of an Amplify app.public void setDescription(String description)
The description for the branch that is part of an Amplify app.
description
- The description for the branch that is part of an Amplify app.public String getDescription()
The description for the branch that is part of an Amplify app.
public Branch withDescription(String description)
The description for the branch that is part of an Amplify app.
description
- The description for the branch that is part of an Amplify app.public Map<String,String> getTags()
The tag for the branch of an Amplify app.
public void setTags(Map<String,String> tags)
The tag for the branch of an Amplify app.
tags
- The tag for the branch of an Amplify app.public Branch withTags(Map<String,String> tags)
The tag for the branch of an Amplify app.
tags
- The tag for the branch of an Amplify app.public Branch clearTagsEntries()
public void setStage(String stage)
The current stage for the branch that is part of an Amplify app.
stage
- The current stage for the branch that is part of an Amplify app.Stage
public String getStage()
The current stage for the branch that is part of an Amplify app.
Stage
public Branch withStage(String stage)
The current stage for the branch that is part of an Amplify app.
stage
- The current stage for the branch that is part of an Amplify app.Stage
public Branch withStage(Stage stage)
The current stage for the branch that is part of an Amplify app.
stage
- The current stage for the branch that is part of an Amplify app.Stage
public void setDisplayName(String displayName)
The display name for the branch. This is used as the default domain prefix.
displayName
- The display name for the branch. This is used as the default domain prefix.public String getDisplayName()
The display name for the branch. This is used as the default domain prefix.
public Branch withDisplayName(String displayName)
The display name for the branch. This is used as the default domain prefix.
displayName
- The display name for the branch. This is used as the default domain prefix.public void setEnableNotification(Boolean enableNotification)
Enables notifications for a branch that is part of an Amplify app.
enableNotification
- Enables notifications for a branch that is part of an Amplify app.public Boolean getEnableNotification()
Enables notifications for a branch that is part of an Amplify app.
public Branch withEnableNotification(Boolean enableNotification)
Enables notifications for a branch that is part of an Amplify app.
enableNotification
- Enables notifications for a branch that is part of an Amplify app.public Boolean isEnableNotification()
Enables notifications for a branch that is part of an Amplify app.
public void setCreateTime(Date createTime)
The creation date and time for a branch that is part of an Amplify app.
createTime
- The creation date and time for a branch that is part of an Amplify app.public Date getCreateTime()
The creation date and time for a branch that is part of an Amplify app.
public Branch withCreateTime(Date createTime)
The creation date and time for a branch that is part of an Amplify app.
createTime
- The creation date and time for a branch that is part of an Amplify app.public void setUpdateTime(Date updateTime)
The last updated date and time for a branch that is part of an Amplify app.
updateTime
- The last updated date and time for a branch that is part of an Amplify app.public Date getUpdateTime()
The last updated date and time for a branch that is part of an Amplify app.
public Branch withUpdateTime(Date updateTime)
The last updated date and time for a branch that is part of an Amplify app.
updateTime
- The last updated date and time for a branch that is part of an Amplify app.public Map<String,String> getEnvironmentVariables()
The environment variables specific to a branch of an Amplify app.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables specific to a branch of an Amplify app.
environmentVariables
- The environment variables specific to a branch of an Amplify app.public Branch withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables specific to a branch of an Amplify app.
environmentVariables
- The environment variables specific to a branch of an Amplify app.public Branch addEnvironmentVariablesEntry(String key, String value)
public Branch clearEnvironmentVariablesEntries()
public void setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch of an Amplify app.
enableAutoBuild
- Enables auto-building on push for a branch of an Amplify app.public Boolean getEnableAutoBuild()
Enables auto-building on push for a branch of an Amplify app.
public Branch withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch of an Amplify app.
enableAutoBuild
- Enables auto-building on push for a branch of an Amplify app.public Boolean isEnableAutoBuild()
Enables auto-building on push for a branch of an Amplify app.
public List<String> getCustomDomains()
The custom domains for a branch of an Amplify app.
public void setCustomDomains(Collection<String> customDomains)
The custom domains for a branch of an Amplify app.
customDomains
- The custom domains for a branch of an Amplify app.public Branch withCustomDomains(String... customDomains)
The custom domains for a branch of an Amplify app.
NOTE: This method appends the values to the existing list (if any). Use
setCustomDomains(java.util.Collection)
or withCustomDomains(java.util.Collection)
if you want
to override the existing values.
customDomains
- The custom domains for a branch of an Amplify app.public Branch withCustomDomains(Collection<String> customDomains)
The custom domains for a branch of an Amplify app.
customDomains
- The custom domains for a branch of an Amplify app.public void setFramework(String framework)
The framework for a branch of an Amplify app.
framework
- The framework for a branch of an Amplify app.public String getFramework()
The framework for a branch of an Amplify app.
public Branch withFramework(String framework)
The framework for a branch of an Amplify app.
framework
- The framework for a branch of an Amplify app.public void setActiveJobId(String activeJobId)
The ID of the active job for a branch of an Amplify app.
activeJobId
- The ID of the active job for a branch of an Amplify app.public String getActiveJobId()
The ID of the active job for a branch of an Amplify app.
public Branch withActiveJobId(String activeJobId)
The ID of the active job for a branch of an Amplify app.
activeJobId
- The ID of the active job for a branch of an Amplify app.public void setTotalNumberOfJobs(String totalNumberOfJobs)
The total number of jobs that are part of an Amplify app.
totalNumberOfJobs
- The total number of jobs that are part of an Amplify app.public String getTotalNumberOfJobs()
The total number of jobs that are part of an Amplify app.
public Branch withTotalNumberOfJobs(String totalNumberOfJobs)
The total number of jobs that are part of an Amplify app.
totalNumberOfJobs
- The total number of jobs that are part of an Amplify app.public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for a branch of an Amplify app.
enableBasicAuth
- Enables basic authorization for a branch of an Amplify app.public Boolean getEnableBasicAuth()
Enables basic authorization for a branch of an Amplify app.
public Branch withEnableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for a branch of an Amplify app.
enableBasicAuth
- Enables basic authorization for a branch of an Amplify app.public Boolean isEnableBasicAuth()
Enables basic authorization for a branch of an Amplify app.
public void setEnablePerformanceMode(Boolean enablePerformanceMode)
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
enablePerformanceMode
- Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
public Boolean getEnablePerformanceMode()
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
public Branch withEnablePerformanceMode(Boolean enablePerformanceMode)
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
enablePerformanceMode
- Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
public Boolean isEnablePerformanceMode()
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
public void setThumbnailUrl(String thumbnailUrl)
The thumbnail URL for the branch of an Amplify app.
thumbnailUrl
- The thumbnail URL for the branch of an Amplify app.public String getThumbnailUrl()
The thumbnail URL for the branch of an Amplify app.
public Branch withThumbnailUrl(String thumbnailUrl)
The thumbnail URL for the branch of an Amplify app.
thumbnailUrl
- The thumbnail URL for the branch of an Amplify app.public void setBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.
basicAuthCredentials
- The basic authorization credentials for a branch of an 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 a branch of an Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.
user:password
.public Branch withBasicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password
.
basicAuthCredentials
- The basic authorization credentials for a branch of an Amplify app. You must base64-encode the
authorization credentials and provide them in the format user:password
.public void setBuildSpec(String buildSpec)
The build specification (build spec) content for the branch of an Amplify app.
buildSpec
- The build specification (build spec) content for the branch of an Amplify app.public String getBuildSpec()
The build specification (build spec) content for the branch of an Amplify app.
public Branch withBuildSpec(String buildSpec)
The build specification (build spec) content for the branch of an Amplify app.
buildSpec
- The build specification (build spec) content for the branch of an Amplify app.public void setTtl(String ttl)
The content Time to Live (TTL) for the website in seconds.
ttl
- The content Time to Live (TTL) for the website in seconds.public String getTtl()
The content Time to Live (TTL) for the website in seconds.
public Branch withTtl(String ttl)
The content Time to Live (TTL) for the website in seconds.
ttl
- The content Time to Live (TTL) for the website in seconds.public List<String> getAssociatedResources()
A list of custom resources that are linked to this branch.
public void setAssociatedResources(Collection<String> associatedResources)
A list of custom resources that are linked to this branch.
associatedResources
- A list of custom resources that are linked to this branch.public Branch withAssociatedResources(String... associatedResources)
A list of custom resources that are linked to this branch.
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedResources(java.util.Collection)
or withAssociatedResources(java.util.Collection)
if you want to override the existing values.
associatedResources
- A list of custom resources that are linked to this branch.public Branch withAssociatedResources(Collection<String> associatedResources)
A list of custom resources that are linked to this branch.
associatedResources
- A list of custom resources that are linked to this branch.public void setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for the branch.
enablePullRequestPreview
- Enables pull request previews for the branch.public Boolean getEnablePullRequestPreview()
Enables pull request previews for the branch.
public Branch withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for the branch.
enablePullRequestPreview
- Enables pull request previews for the branch.public Boolean isEnablePullRequestPreview()
Enables pull request previews for the 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 Branch withPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
pullRequestEnvironmentName
- The Amplify environment name for the pull request.public void setDestinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
destinationBranch
- The destination branch if the branch is a pull request branch.public String getDestinationBranch()
The destination branch if the branch is a pull request branch.
public Branch withDestinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
destinationBranch
- The destination branch if the branch is a pull request branch.public void setSourceBranch(String sourceBranch)
The source branch if the branch is a pull request branch.
sourceBranch
- The source branch if the branch is a pull request branch.public String getSourceBranch()
The source branch if the branch is a pull request branch.
public Branch withSourceBranch(String sourceBranch)
The source branch if the branch is a pull request branch.
sourceBranch
- The source branch if the branch is a pull request branch.public void setBackendEnvironmentArn(String backendEnvironmentArn)
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
backendEnvironmentArn
- The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
public String getBackendEnvironmentArn()
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
public Branch withBackendEnvironmentArn(String backendEnvironmentArn)
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
backendEnvironmentArn
- The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
This property is available to Amplify Gen 1 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
public void setBackend(Backend backend)
backend
- public Backend getBackend()
public Branch withBackend(Backend backend)
backend
- 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.