@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Branch extends Object implements Serializable, Cloneable, StructuredPojo
Branch for an Amplify App, which maps to a 3rd party repository branch.
Constructor and Description |
---|
Branch() |
Modifier and Type | Method and Description |
---|---|
Branch |
addEnvironmentVariablesEntry(String key,
String value) |
Branch |
addTagsEntry(String key,
String value) |
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()
Id of the active job for a branch, part of an Amplify App.
|
List<String> |
getAssociatedResources()
List of custom resources that are linked to this branch.
|
String |
getBackendEnvironmentArn()
ARN for a Backend Environment, part of an Amplify App.
|
String |
getBasicAuthCredentials()
Basic Authorization credentials for a branch, part of an Amplify App.
|
String |
getBranchArn()
ARN for a branch, part of an Amplify App.
|
String |
getBranchName()
Name for a branch, part of an Amplify App.
|
String |
getBuildSpec()
BuildSpec content for branch for Amplify App.
|
Date |
getCreateTime()
Creation date and time for a branch, part of an Amplify App.
|
List<String> |
getCustomDomains()
Custom domains for a branch, part of an Amplify App.
|
String |
getDescription()
Description for a branch, part of an Amplify App.
|
String |
getDestinationBranch()
The destination branch if the branch is a pull request branch.
|
String |
getDisplayName()
Display name for a branch, will use as the default domain prefix.
|
Boolean |
getEnableAutoBuild()
Enables auto-building on push for a branch, part of an Amplify App.
|
Boolean |
getEnableBasicAuth()
Enables Basic Authorization for a branch, part of an Amplify App.
|
Boolean |
getEnableNotification()
Enables notifications for a branch, part of an Amplify App.
|
Boolean |
getEnablePullRequestPreview()
Enables Pull Request Preview for this branch.
|
Map<String,String> |
getEnvironmentVariables()
Environment Variables specific to a branch, part of an Amplify App.
|
String |
getFramework()
Framework for a branch, part 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()
Stage for a branch, part of an Amplify App.
|
Map<String,String> |
getTags()
Tag for branch for Amplify App.
|
String |
getThumbnailUrl()
Thumbnail URL for the branch.
|
String |
getTotalNumberOfJobs()
Total number of Jobs part of an Amplify App.
|
String |
getTtl()
The content TTL for the website in seconds.
|
Date |
getUpdateTime()
Last updated date and time for a branch, part of an Amplify App.
|
int |
hashCode() |
Boolean |
isEnableAutoBuild()
Enables auto-building on push for a branch, part of an Amplify App.
|
Boolean |
isEnableBasicAuth()
Enables Basic Authorization for a branch, part of an Amplify App.
|
Boolean |
isEnableNotification()
Enables notifications for a branch, part of an Amplify App.
|
Boolean |
isEnablePullRequestPreview()
Enables Pull Request Preview for this branch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveJobId(String activeJobId)
Id of the active job for a branch, part of an Amplify App.
|
void |
setAssociatedResources(Collection<String> associatedResources)
List of custom resources that are linked to this branch.
|
void |
setBackendEnvironmentArn(String backendEnvironmentArn)
ARN for a Backend Environment, part of an Amplify App.
|
void |
setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for a branch, part of an Amplify App.
|
void |
setBranchArn(String branchArn)
ARN for a branch, part of an Amplify App.
|
void |
setBranchName(String branchName)
Name for a branch, part of an Amplify App.
|
void |
setBuildSpec(String buildSpec)
BuildSpec content for branch for Amplify App.
|
void |
setCreateTime(Date createTime)
Creation date and time for a branch, part of an Amplify App.
|
void |
setCustomDomains(Collection<String> customDomains)
Custom domains for a branch, part of an Amplify App.
|
void |
setDescription(String description)
Description for a branch, part of an Amplify App.
|
void |
setDestinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
|
void |
setDisplayName(String displayName)
Display name for a branch, will use as the default domain prefix.
|
void |
setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch, part of an Amplify App.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for a branch, part of an Amplify App.
|
void |
setEnableNotification(Boolean enableNotification)
Enables notifications for a branch, part of an Amplify App.
|
void |
setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for this branch.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables specific to a branch, part of an Amplify App.
|
void |
setFramework(String framework)
Framework for a branch, part 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)
Stage for a branch, part of an Amplify App.
|
void |
setTags(Map<String,String> tags)
Tag for branch for Amplify App.
|
void |
setThumbnailUrl(String thumbnailUrl)
Thumbnail URL for the branch.
|
void |
setTotalNumberOfJobs(String totalNumberOfJobs)
Total number of Jobs part of an Amplify App.
|
void |
setTtl(String ttl)
The content TTL for the website in seconds.
|
void |
setUpdateTime(Date updateTime)
Last updated date and time for a branch, part of an Amplify App.
|
String |
toString()
Returns a string representation of this object.
|
Branch |
withActiveJobId(String activeJobId)
Id of the active job for a branch, part of an Amplify App.
|
Branch |
withAssociatedResources(Collection<String> associatedResources)
List of custom resources that are linked to this branch.
|
Branch |
withAssociatedResources(String... associatedResources)
List of custom resources that are linked to this branch.
|
Branch |
withBackendEnvironmentArn(String backendEnvironmentArn)
ARN for a Backend Environment, part of an Amplify App.
|
Branch |
withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for a branch, part of an Amplify App.
|
Branch |
withBranchArn(String branchArn)
ARN for a branch, part of an Amplify App.
|
Branch |
withBranchName(String branchName)
Name for a branch, part of an Amplify App.
|
Branch |
withBuildSpec(String buildSpec)
BuildSpec content for branch for Amplify App.
|
Branch |
withCreateTime(Date createTime)
Creation date and time for a branch, part of an Amplify App.
|
Branch |
withCustomDomains(Collection<String> customDomains)
Custom domains for a branch, part of an Amplify App.
|
Branch |
withCustomDomains(String... customDomains)
Custom domains for a branch, part of an Amplify App.
|
Branch |
withDescription(String description)
Description for a branch, part of an Amplify App.
|
Branch |
withDestinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
|
Branch |
withDisplayName(String displayName)
Display name for a branch, will use as the default domain prefix.
|
Branch |
withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch, part of an Amplify App.
|
Branch |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for a branch, part of an Amplify App.
|
Branch |
withEnableNotification(Boolean enableNotification)
Enables notifications for a branch, part of an Amplify App.
|
Branch |
withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for this branch.
|
Branch |
withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables specific to a branch, part of an Amplify App.
|
Branch |
withFramework(String framework)
Framework for a branch, part 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)
Stage for a branch, part of an Amplify App.
|
Branch |
withStage(String stage)
Stage for a branch, part of an Amplify App.
|
Branch |
withTags(Map<String,String> tags)
Tag for branch for Amplify App.
|
Branch |
withThumbnailUrl(String thumbnailUrl)
Thumbnail URL for the branch.
|
Branch |
withTotalNumberOfJobs(String totalNumberOfJobs)
Total number of Jobs part of an Amplify App.
|
Branch |
withTtl(String ttl)
The content TTL for the website in seconds.
|
Branch |
withUpdateTime(Date updateTime)
Last updated date and time for a branch, part of an Amplify App.
|
public void setBranchArn(String branchArn)
ARN for a branch, part of an Amplify App.
branchArn
- ARN for a branch, part of an Amplify App.public String getBranchArn()
ARN for a branch, part of an Amplify App.
public Branch withBranchArn(String branchArn)
ARN for a branch, part of an Amplify App.
branchArn
- ARN for a branch, part of an Amplify App.public void setBranchName(String branchName)
Name for a branch, part of an Amplify App.
branchName
- Name for a branch, part of an Amplify App.public String getBranchName()
Name for a branch, part of an Amplify App.
public Branch withBranchName(String branchName)
Name for a branch, part of an Amplify App.
branchName
- Name for a branch, part of an Amplify App.public void setDescription(String description)
Description for a branch, part of an Amplify App.
description
- Description for a branch, part of an Amplify App.public String getDescription()
Description for a branch, part of an Amplify App.
public Branch withDescription(String description)
Description for a branch, part of an Amplify App.
description
- Description for a branch, part of an Amplify App.public Map<String,String> getTags()
Tag for branch for Amplify App.
public void setTags(Map<String,String> tags)
Tag for branch for Amplify App.
tags
- Tag for branch for Amplify App.public Branch withTags(Map<String,String> tags)
Tag for branch for Amplify App.
tags
- Tag for branch for Amplify App.public Branch clearTagsEntries()
public void setStage(String stage)
Stage for a branch, part of an Amplify App.
stage
- Stage for a branch, part of an Amplify App.Stage
public String getStage()
Stage for a branch, part of an Amplify App.
Stage
public Branch withStage(String stage)
Stage for a branch, part of an Amplify App.
stage
- Stage for a branch, part of an Amplify App.Stage
public Branch withStage(Stage stage)
Stage for a branch, part of an Amplify App.
stage
- Stage for a branch, part of an Amplify App.Stage
public void setDisplayName(String displayName)
Display name for a branch, will use as the default domain prefix.
displayName
- Display name for a branch, will use as the default domain prefix.public String getDisplayName()
Display name for a branch, will use as the default domain prefix.
public Branch withDisplayName(String displayName)
Display name for a branch, will use as the default domain prefix.
displayName
- Display name for a branch, will use as the default domain prefix.public void setEnableNotification(Boolean enableNotification)
Enables notifications for a branch, part of an Amplify App.
enableNotification
- Enables notifications for a branch, part of an Amplify App.public Boolean getEnableNotification()
Enables notifications for a branch, part of an Amplify App.
public Branch withEnableNotification(Boolean enableNotification)
Enables notifications for a branch, part of an Amplify App.
enableNotification
- Enables notifications for a branch, part of an Amplify App.public Boolean isEnableNotification()
Enables notifications for a branch, part of an Amplify App.
public void setCreateTime(Date createTime)
Creation date and time for a branch, part of an Amplify App.
createTime
- Creation date and time for a branch, part of an Amplify App.public Date getCreateTime()
Creation date and time for a branch, part of an Amplify App.
public Branch withCreateTime(Date createTime)
Creation date and time for a branch, part of an Amplify App.
createTime
- Creation date and time for a branch, part of an Amplify App.public void setUpdateTime(Date updateTime)
Last updated date and time for a branch, part of an Amplify App.
updateTime
- Last updated date and time for a branch, part of an Amplify App.public Date getUpdateTime()
Last updated date and time for a branch, part of an Amplify App.
public Branch withUpdateTime(Date updateTime)
Last updated date and time for a branch, part of an Amplify App.
updateTime
- Last updated date and time for a branch, part of an Amplify App.public Map<String,String> getEnvironmentVariables()
Environment Variables specific to a branch, part of an Amplify App.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables specific to a branch, part of an Amplify App.
environmentVariables
- Environment Variables specific to a branch, part of an Amplify App.public Branch withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables specific to a branch, part of an Amplify App.
environmentVariables
- Environment Variables specific to a branch, part of an Amplify App.public Branch clearEnvironmentVariablesEntries()
public void setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch, part of an Amplify App.
enableAutoBuild
- Enables auto-building on push for a branch, part of an Amplify App.public Boolean getEnableAutoBuild()
Enables auto-building on push for a branch, part of an Amplify App.
public Branch withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch, part of an Amplify App.
enableAutoBuild
- Enables auto-building on push for a branch, part of an Amplify App.public Boolean isEnableAutoBuild()
Enables auto-building on push for a branch, part of an Amplify App.
public List<String> getCustomDomains()
Custom domains for a branch, part of an Amplify App.
public void setCustomDomains(Collection<String> customDomains)
Custom domains for a branch, part of an Amplify App.
customDomains
- Custom domains for a branch, part of an Amplify App.public Branch withCustomDomains(String... customDomains)
Custom domains for a branch, part 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
- Custom domains for a branch, part of an Amplify App.public Branch withCustomDomains(Collection<String> customDomains)
Custom domains for a branch, part of an Amplify App.
customDomains
- Custom domains for a branch, part of an Amplify App.public void setFramework(String framework)
Framework for a branch, part of an Amplify App.
framework
- Framework for a branch, part of an Amplify App.public String getFramework()
Framework for a branch, part of an Amplify App.
public Branch withFramework(String framework)
Framework for a branch, part of an Amplify App.
framework
- Framework for a branch, part of an Amplify App.public void setActiveJobId(String activeJobId)
Id of the active job for a branch, part of an Amplify App.
activeJobId
- Id of the active job for a branch, part of an Amplify App.public String getActiveJobId()
Id of the active job for a branch, part of an Amplify App.
public Branch withActiveJobId(String activeJobId)
Id of the active job for a branch, part of an Amplify App.
activeJobId
- Id of the active job for a branch, part of an Amplify App.public void setTotalNumberOfJobs(String totalNumberOfJobs)
Total number of Jobs part of an Amplify App.
totalNumberOfJobs
- Total number of Jobs part of an Amplify App.public String getTotalNumberOfJobs()
Total number of Jobs part of an Amplify App.
public Branch withTotalNumberOfJobs(String totalNumberOfJobs)
Total number of Jobs part of an Amplify App.
totalNumberOfJobs
- Total number of Jobs part of an Amplify App.public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for a branch, part of an Amplify App.
enableBasicAuth
- Enables Basic Authorization for a branch, part of an Amplify App.public Boolean getEnableBasicAuth()
Enables Basic Authorization for a branch, part of an Amplify App.
public Branch withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for a branch, part of an Amplify App.
enableBasicAuth
- Enables Basic Authorization for a branch, part of an Amplify App.public Boolean isEnableBasicAuth()
Enables Basic Authorization for a branch, part of an Amplify App.
public void setThumbnailUrl(String thumbnailUrl)
Thumbnail URL for the branch.
thumbnailUrl
- Thumbnail URL for the branch.public String getThumbnailUrl()
Thumbnail URL for the branch.
public Branch withThumbnailUrl(String thumbnailUrl)
Thumbnail URL for the branch.
thumbnailUrl
- Thumbnail URL for the branch.public void setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for a branch, part of an Amplify App.
basicAuthCredentials
- Basic Authorization credentials for a branch, part of an Amplify App.public String getBasicAuthCredentials()
Basic Authorization credentials for a branch, part of an Amplify App.
public Branch withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for a branch, part of an Amplify App.
basicAuthCredentials
- Basic Authorization credentials for a branch, part of an Amplify App.public void setBuildSpec(String buildSpec)
BuildSpec content for branch for Amplify App.
buildSpec
- BuildSpec content for branch for Amplify App.public String getBuildSpec()
BuildSpec content for branch for Amplify App.
public Branch withBuildSpec(String buildSpec)
BuildSpec content for branch for Amplify App.
buildSpec
- BuildSpec content for branch for Amplify App.public void setTtl(String ttl)
The content TTL for the website in seconds.
ttl
- The content TTL for the website in seconds.public String getTtl()
The content TTL for the website in seconds.
public Branch withTtl(String ttl)
The content TTL for the website in seconds.
ttl
- The content TTL for the website in seconds.public List<String> getAssociatedResources()
List of custom resources that are linked to this branch.
public void setAssociatedResources(Collection<String> associatedResources)
List of custom resources that are linked to this branch.
associatedResources
- List of custom resources that are linked to this branch.public Branch withAssociatedResources(String... associatedResources)
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
- List of custom resources that are linked to this branch.public Branch withAssociatedResources(Collection<String> associatedResources)
List of custom resources that are linked to this branch.
associatedResources
- List of custom resources that are linked to this branch.public void setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for this branch.
enablePullRequestPreview
- Enables Pull Request Preview for this branch.public Boolean getEnablePullRequestPreview()
Enables Pull Request Preview for this branch.
public Branch withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for this branch.
enablePullRequestPreview
- Enables Pull Request Preview for this branch.public Boolean isEnablePullRequestPreview()
Enables Pull Request Preview for this 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)
ARN for a Backend Environment, part of an Amplify App.
backendEnvironmentArn
- ARN for a Backend Environment, part of an Amplify App.public String getBackendEnvironmentArn()
ARN for a Backend Environment, part of an Amplify App.
public Branch withBackendEnvironmentArn(String backendEnvironmentArn)
ARN for a Backend Environment, part of an Amplify App.
backendEnvironmentArn
- ARN for a Backend Environment, part of an Amplify App.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.