@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBranchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request structure for update branch request.
NOOP
Constructor and Description |
---|
UpdateBranchRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateBranchRequest |
addEnvironmentVariablesEntry(String key,
String value) |
UpdateBranchRequest |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
UpdateBranchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppId()
Unique Id for an Amplify App.
|
String |
getBackendEnvironmentArn()
ARN for a Backend Environment, part of an Amplify App.
|
String |
getBasicAuthCredentials()
Basic Authorization credentials for the branch.
|
String |
getBranchName()
Name for the branch.
|
String |
getBuildSpec()
BuildSpec for the branch.
|
String |
getDescription()
Description for the branch.
|
String |
getDisplayName()
Display name for a branch, will use as the default domain prefix.
|
Boolean |
getEnableAutoBuild()
Enables auto building for the branch.
|
Boolean |
getEnableBasicAuth()
Enables Basic Auth for the branch.
|
Boolean |
getEnableNotification()
Enables notifications for the branch.
|
Boolean |
getEnablePullRequestPreview()
Enables Pull Request Preview for this branch.
|
Map<String,String> |
getEnvironmentVariables()
Environment Variables for the branch.
|
String |
getFramework()
Framework for the branch.
|
String |
getPullRequestEnvironmentName()
The Amplify Environment name for the pull request.
|
String |
getStage()
Stage for the branch.
|
String |
getTtl()
The content TTL for the website in seconds.
|
int |
hashCode() |
Boolean |
isEnableAutoBuild()
Enables auto building for the branch.
|
Boolean |
isEnableBasicAuth()
Enables Basic Auth for the branch.
|
Boolean |
isEnableNotification()
Enables notifications for the branch.
|
Boolean |
isEnablePullRequestPreview()
Enables Pull Request Preview for this branch.
|
void |
setAppId(String appId)
Unique Id for an Amplify App.
|
void |
setBackendEnvironmentArn(String backendEnvironmentArn)
ARN for a Backend Environment, part of an Amplify App.
|
void |
setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the branch.
|
void |
setBranchName(String branchName)
Name for the branch.
|
void |
setBuildSpec(String buildSpec)
BuildSpec for the branch.
|
void |
setDescription(String description)
Description for the branch.
|
void |
setDisplayName(String displayName)
Display name for a branch, will use as the default domain prefix.
|
void |
setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the branch.
|
void |
setEnableNotification(Boolean enableNotification)
Enables notifications for the branch.
|
void |
setEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for this branch.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
|
void |
setFramework(String framework)
Framework for the branch.
|
void |
setPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify Environment name for the pull request.
|
void |
setStage(String stage)
Stage for the branch.
|
void |
setTtl(String ttl)
The content TTL for the website in seconds.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBranchRequest |
withAppId(String appId)
Unique Id for an Amplify App.
|
UpdateBranchRequest |
withBackendEnvironmentArn(String backendEnvironmentArn)
ARN for a Backend Environment, part of an Amplify App.
|
UpdateBranchRequest |
withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the branch.
|
UpdateBranchRequest |
withBranchName(String branchName)
Name for the branch.
|
UpdateBranchRequest |
withBuildSpec(String buildSpec)
BuildSpec for the branch.
|
UpdateBranchRequest |
withDescription(String description)
Description for the branch.
|
UpdateBranchRequest |
withDisplayName(String displayName)
Display name for a branch, will use as the default domain prefix.
|
UpdateBranchRequest |
withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
|
UpdateBranchRequest |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the branch.
|
UpdateBranchRequest |
withEnableNotification(Boolean enableNotification)
Enables notifications for the branch.
|
UpdateBranchRequest |
withEnablePullRequestPreview(Boolean enablePullRequestPreview)
Enables Pull Request Preview for this branch.
|
UpdateBranchRequest |
withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
|
UpdateBranchRequest |
withFramework(String framework)
Framework for the branch.
|
UpdateBranchRequest |
withPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify Environment name for the pull request.
|
UpdateBranchRequest |
withStage(Stage stage)
Stage for the branch.
|
UpdateBranchRequest |
withStage(String stage)
Stage for the branch.
|
UpdateBranchRequest |
withTtl(String ttl)
The content TTL for the website in seconds.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAppId(String appId)
Unique Id for an Amplify App.
appId
- Unique Id for an Amplify App.public String getAppId()
Unique Id for an Amplify App.
public UpdateBranchRequest withAppId(String appId)
Unique Id for an Amplify App.
appId
- Unique Id for an Amplify App.public void setBranchName(String branchName)
Name for the branch.
branchName
- Name for the branch.public String getBranchName()
Name for the branch.
public UpdateBranchRequest withBranchName(String branchName)
Name for the branch.
branchName
- Name for the branch.public void setDescription(String description)
Description for the branch.
description
- Description for the branch.public String getDescription()
Description for the branch.
public UpdateBranchRequest withDescription(String description)
Description for the branch.
description
- Description for the branch.public void setFramework(String framework)
Framework for the branch.
framework
- Framework for the branch.public String getFramework()
Framework for the branch.
public UpdateBranchRequest withFramework(String framework)
Framework for the branch.
framework
- Framework for the branch.public void setStage(String stage)
Stage for the branch.
stage
- Stage for the branch.Stage
public String getStage()
Stage for the branch.
Stage
public UpdateBranchRequest withStage(String stage)
Stage for the branch.
stage
- Stage for the branch.Stage
public UpdateBranchRequest withStage(Stage stage)
Stage for the branch.
stage
- Stage for the branch.Stage
public void setEnableNotification(Boolean enableNotification)
Enables notifications for the branch.
enableNotification
- Enables notifications for the branch.public Boolean getEnableNotification()
Enables notifications for the branch.
public UpdateBranchRequest withEnableNotification(Boolean enableNotification)
Enables notifications for the branch.
enableNotification
- Enables notifications for the branch.public Boolean isEnableNotification()
Enables notifications for the branch.
public void setEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
enableAutoBuild
- Enables auto building for the branch.public Boolean getEnableAutoBuild()
Enables auto building for the branch.
public UpdateBranchRequest withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
enableAutoBuild
- Enables auto building for the branch.public Boolean isEnableAutoBuild()
Enables auto building for the branch.
public Map<String,String> getEnvironmentVariables()
Environment Variables for the branch.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
environmentVariables
- Environment Variables for the branch.public UpdateBranchRequest withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
environmentVariables
- Environment Variables for the branch.public UpdateBranchRequest addEnvironmentVariablesEntry(String key, String value)
public UpdateBranchRequest clearEnvironmentVariablesEntries()
public void setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the branch.
basicAuthCredentials
- Basic Authorization credentials for the branch.public String getBasicAuthCredentials()
Basic Authorization credentials for the branch.
public UpdateBranchRequest withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the branch.
basicAuthCredentials
- Basic Authorization credentials for the branch.public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the branch.
enableBasicAuth
- Enables Basic Auth for the branch.public Boolean getEnableBasicAuth()
Enables Basic Auth for the branch.
public UpdateBranchRequest withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the branch.
enableBasicAuth
- Enables Basic Auth for the branch.public Boolean isEnableBasicAuth()
Enables Basic Auth for the branch.
public void setBuildSpec(String buildSpec)
BuildSpec for the branch.
buildSpec
- BuildSpec for the branch.public String getBuildSpec()
BuildSpec for the branch.
public UpdateBranchRequest withBuildSpec(String buildSpec)
BuildSpec for the branch.
buildSpec
- BuildSpec for the branch.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 UpdateBranchRequest withTtl(String ttl)
The content TTL for the website in seconds.
ttl
- The content TTL for the website in seconds.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 UpdateBranchRequest 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 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 UpdateBranchRequest 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 UpdateBranchRequest withPullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify Environment name for the pull request.
pullRequestEnvironmentName
- The Amplify Environment name for the pull request.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 UpdateBranchRequest 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 UpdateBranchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.