@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBranchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request structure for a branch create request.
NOOP
Constructor and Description |
---|
CreateBranchRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBranchRequest |
addEnvironmentVariablesEntry(String key,
String value) |
CreateBranchRequest |
addTagsEntry(String key,
String value) |
CreateBranchRequest |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
CreateBranchRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateBranchRequest |
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 |
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.
|
Boolean |
getEnableAutoBuild()
Enables auto building for the branch.
|
Boolean |
getEnableBasicAuth()
Enables Basic Auth for the branch.
|
Boolean |
getEnableNotification()
Enables notifications for the branch.
|
Map<String,String> |
getEnvironmentVariables()
Environment Variables for the branch.
|
String |
getFramework()
Framework for the branch.
|
String |
getStage()
Stage for the branch.
|
Map<String,String> |
getTags()
Tag 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.
|
void |
setAppId(String appId)
Unique Id for 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 |
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 |
setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
|
void |
setFramework(String framework)
Framework for the branch.
|
void |
setStage(String stage)
Stage for the branch.
|
void |
setTags(Map<String,String> tags)
Tag for the branch.
|
void |
setTtl(String ttl)
The content TTL for the website in seconds.
|
String |
toString()
Returns a string representation of this object.
|
CreateBranchRequest |
withAppId(String appId)
Unique Id for an Amplify App.
|
CreateBranchRequest |
withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the branch.
|
CreateBranchRequest |
withBranchName(String branchName)
Name for the branch.
|
CreateBranchRequest |
withBuildSpec(String buildSpec)
BuildSpec for the branch.
|
CreateBranchRequest |
withDescription(String description)
Description for the branch.
|
CreateBranchRequest |
withEnableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
|
CreateBranchRequest |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the branch.
|
CreateBranchRequest |
withEnableNotification(Boolean enableNotification)
Enables notifications for the branch.
|
CreateBranchRequest |
withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
|
CreateBranchRequest |
withFramework(String framework)
Framework for the branch.
|
CreateBranchRequest |
withStage(Stage stage)
Stage for the branch.
|
CreateBranchRequest |
withStage(String stage)
Stage for the branch.
|
CreateBranchRequest |
withTags(Map<String,String> tags)
Tag for the branch.
|
CreateBranchRequest |
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 CreateBranchRequest 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 CreateBranchRequest 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 CreateBranchRequest withDescription(String description)
Description for the branch.
description
- Description 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 CreateBranchRequest withStage(String stage)
Stage for the branch.
stage
- Stage for the branch.Stage
public CreateBranchRequest withStage(Stage stage)
Stage for the branch.
stage
- Stage for the branch.Stage
public void setFramework(String framework)
Framework for the branch.
framework
- Framework for the branch.public String getFramework()
Framework for the branch.
public CreateBranchRequest withFramework(String framework)
Framework for the branch.
framework
- Framework for the branch.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 CreateBranchRequest 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 CreateBranchRequest 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 CreateBranchRequest withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
environmentVariables
- Environment Variables for the branch.public CreateBranchRequest addEnvironmentVariablesEntry(String key, String value)
public CreateBranchRequest 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 CreateBranchRequest 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 CreateBranchRequest 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 setTags(Map<String,String> tags)
Tag for the branch.
tags
- Tag for the branch.public CreateBranchRequest withTags(Map<String,String> tags)
Tag for the branch.
tags
- Tag for the branch.public CreateBranchRequest addTagsEntry(String key, String value)
public CreateBranchRequest clearTagsEntries()
public void setBuildSpec(String buildSpec)
BuildSpec for the branch.
buildSpec
- BuildSpec for the branch.public String getBuildSpec()
BuildSpec for the branch.
public CreateBranchRequest 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 CreateBranchRequest 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 Object
Object.toString()
public CreateBranchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.