@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.
|
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 |
getDisplayName()
Display name for a branch, part of an Amplify App.
|
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.
|
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 |
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.
|
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 |
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 |
setDisplayName(String displayName)
Display name for a branch, part of an Amplify App.
|
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 |
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 |
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 |
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 |
withDisplayName(String displayName)
Display name for a branch, part of an Amplify App.
|
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 |
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 |
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.Stagepublic String getStage()
Stage for a branch, part of an Amplify App.
Stagepublic Branch withStage(String stage)
Stage for a branch, part of an Amplify App.
stage - Stage for a branch, part of an Amplify App.Stagepublic Branch withStage(Stage stage)
Stage for a branch, part of an Amplify App.
stage - Stage for a branch, part of an Amplify App.Stagepublic void setDisplayName(String displayName)
Display name for a branch, part of an Amplify App.
displayName - Display name for a branch, part of an Amplify App.public String getDisplayName()
Display name for a branch, part of an Amplify App.
public Branch withDisplayName(String displayName)
Display name for a branch, part of an Amplify App.
displayName - Display name for a branch, part of an Amplify App.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 String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.