@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class App extends Object implements Serializable, Cloneable, StructuredPojo
Amplify App represents different branches of a repository for building, deploying, and hosting.
Constructor and Description |
---|
App() |
Modifier and Type | Method and Description |
---|---|
App |
addEnvironmentVariablesEntry(String key,
String value) |
App |
addTagsEntry(String key,
String value) |
App |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
App |
clearTagsEntries()
Removes all the entries added into Tags.
|
App |
clone() |
boolean |
equals(Object obj) |
String |
getAppArn()
ARN for the Amplify App.
|
String |
getAppId()
Unique Id for the Amplify App.
|
String |
getBasicAuthCredentials()
Basic Authorization credentials for branches for the Amplify App.
|
String |
getBuildSpec()
BuildSpec content for Amplify App.
|
Date |
getCreateTime()
Create date / time for the Amplify App.
|
List<CustomRule> |
getCustomRules()
Custom redirect / rewrite rules for the Amplify App.
|
String |
getDefaultDomain()
Default domain for the Amplify App.
|
String |
getDescription()
Description for the Amplify App.
|
Boolean |
getEnableBasicAuth()
Enables Basic Authorization for branches for the Amplify App.
|
Boolean |
getEnableBranchAutoBuild()
Enables auto-building of branches for the Amplify App.
|
Map<String,String> |
getEnvironmentVariables()
Environment Variables for the Amplify App.
|
String |
getIamServiceRoleArn()
IAM service role ARN for the Amplify App.
|
String |
getName()
Name for the Amplify App.
|
String |
getPlatform()
Platform for the Amplify App.
|
ProductionBranch |
getProductionBranch()
Structure with Production Branch information.
|
String |
getRepository()
Repository for the Amplify App.
|
Map<String,String> |
getTags()
Tag for Amplify App.
|
Date |
getUpdateTime()
Update date / time for the Amplify App.
|
int |
hashCode() |
Boolean |
isEnableBasicAuth()
Enables Basic Authorization for branches for the Amplify App.
|
Boolean |
isEnableBranchAutoBuild()
Enables auto-building of branches for the Amplify App.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppArn(String appArn)
ARN for the Amplify App.
|
void |
setAppId(String appId)
Unique Id for the Amplify App.
|
void |
setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for branches for the Amplify App.
|
void |
setBuildSpec(String buildSpec)
BuildSpec content for Amplify App.
|
void |
setCreateTime(Date createTime)
Create date / time for the Amplify App.
|
void |
setCustomRules(Collection<CustomRule> customRules)
Custom redirect / rewrite rules for the Amplify App.
|
void |
setDefaultDomain(String defaultDomain)
Default domain for the Amplify App.
|
void |
setDescription(String description)
Description for the Amplify App.
|
void |
setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for branches for the Amplify App.
|
void |
setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables auto-building of branches for the Amplify App.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the Amplify App.
|
void |
setIamServiceRoleArn(String iamServiceRoleArn)
IAM service role ARN for the Amplify App.
|
void |
setName(String name)
Name for the Amplify App.
|
void |
setPlatform(String platform)
Platform for the Amplify App.
|
void |
setProductionBranch(ProductionBranch productionBranch)
Structure with Production Branch information.
|
void |
setRepository(String repository)
Repository for the Amplify App.
|
void |
setTags(Map<String,String> tags)
Tag for Amplify App.
|
void |
setUpdateTime(Date updateTime)
Update date / time for the Amplify App.
|
String |
toString()
Returns a string representation of this object.
|
App |
withAppArn(String appArn)
ARN for the Amplify App.
|
App |
withAppId(String appId)
Unique Id for the Amplify App.
|
App |
withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for branches for the Amplify App.
|
App |
withBuildSpec(String buildSpec)
BuildSpec content for Amplify App.
|
App |
withCreateTime(Date createTime)
Create date / time for the Amplify App.
|
App |
withCustomRules(Collection<CustomRule> customRules)
Custom redirect / rewrite rules for the Amplify App.
|
App |
withCustomRules(CustomRule... customRules)
Custom redirect / rewrite rules for the Amplify App.
|
App |
withDefaultDomain(String defaultDomain)
Default domain for the Amplify App.
|
App |
withDescription(String description)
Description for the Amplify App.
|
App |
withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for branches for the Amplify App.
|
App |
withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables auto-building of branches for the Amplify App.
|
App |
withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the Amplify App.
|
App |
withIamServiceRoleArn(String iamServiceRoleArn)
IAM service role ARN for the Amplify App.
|
App |
withName(String name)
Name for the Amplify App.
|
App |
withPlatform(Platform platform)
Platform for the Amplify App.
|
App |
withPlatform(String platform)
Platform for the Amplify App.
|
App |
withProductionBranch(ProductionBranch productionBranch)
Structure with Production Branch information.
|
App |
withRepository(String repository)
Repository for the Amplify App.
|
App |
withTags(Map<String,String> tags)
Tag for Amplify App.
|
App |
withUpdateTime(Date updateTime)
Update date / time for the Amplify App.
|
public void setAppId(String appId)
Unique Id for the Amplify App.
appId
- Unique Id for the Amplify App.public String getAppId()
Unique Id for the Amplify App.
public App withAppId(String appId)
Unique Id for the Amplify App.
appId
- Unique Id for the Amplify App.public void setAppArn(String appArn)
ARN for the Amplify App.
appArn
- ARN for the Amplify App.public String getAppArn()
ARN for the Amplify App.
public App withAppArn(String appArn)
ARN for the Amplify App.
appArn
- ARN for the Amplify App.public void setName(String name)
Name for the Amplify App.
name
- Name for the Amplify App.public String getName()
Name for the Amplify App.
public App withName(String name)
Name for the Amplify App.
name
- Name for the Amplify App.public void setTags(Map<String,String> tags)
Tag for Amplify App.
tags
- Tag for Amplify App.public App withTags(Map<String,String> tags)
Tag for Amplify App.
tags
- Tag for Amplify App.public App clearTagsEntries()
public void setDescription(String description)
Description for the Amplify App.
description
- Description for the Amplify App.public String getDescription()
Description for the Amplify App.
public App withDescription(String description)
Description for the Amplify App.
description
- Description for the Amplify App.public void setRepository(String repository)
Repository for the Amplify App.
repository
- Repository for the Amplify App.public String getRepository()
Repository for the Amplify App.
public App withRepository(String repository)
Repository for the Amplify App.
repository
- Repository for the Amplify App.public void setPlatform(String platform)
Platform for the Amplify App.
platform
- Platform for the Amplify App.Platform
public String getPlatform()
Platform for the Amplify App.
Platform
public App withPlatform(String platform)
Platform for the Amplify App.
platform
- Platform for the Amplify App.Platform
public App withPlatform(Platform platform)
Platform for the Amplify App.
platform
- Platform for the Amplify App.Platform
public void setCreateTime(Date createTime)
Create date / time for the Amplify App.
createTime
- Create date / time for the Amplify App.public Date getCreateTime()
Create date / time for the Amplify App.
public App withCreateTime(Date createTime)
Create date / time for the Amplify App.
createTime
- Create date / time for the Amplify App.public void setUpdateTime(Date updateTime)
Update date / time for the Amplify App.
updateTime
- Update date / time for the Amplify App.public Date getUpdateTime()
Update date / time for the Amplify App.
public App withUpdateTime(Date updateTime)
Update date / time for the Amplify App.
updateTime
- Update date / time for the Amplify App.public void setIamServiceRoleArn(String iamServiceRoleArn)
IAM service role ARN for the Amplify App.
iamServiceRoleArn
- IAM service role ARN for the Amplify App.public String getIamServiceRoleArn()
IAM service role ARN for the Amplify App.
public App withIamServiceRoleArn(String iamServiceRoleArn)
IAM service role ARN for the Amplify App.
iamServiceRoleArn
- IAM service role ARN for the Amplify App.public Map<String,String> getEnvironmentVariables()
Environment Variables for the Amplify App.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the Amplify App.
environmentVariables
- Environment Variables for the Amplify App.public App withEnvironmentVariables(Map<String,String> environmentVariables)
Environment Variables for the Amplify App.
environmentVariables
- Environment Variables for the Amplify App.public App clearEnvironmentVariablesEntries()
public void setDefaultDomain(String defaultDomain)
Default domain for the Amplify App.
defaultDomain
- Default domain for the Amplify App.public String getDefaultDomain()
Default domain for the Amplify App.
public App withDefaultDomain(String defaultDomain)
Default domain for the Amplify App.
defaultDomain
- Default domain for the Amplify App.public void setEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables auto-building of branches for the Amplify App.
enableBranchAutoBuild
- Enables auto-building of branches for the Amplify App.public Boolean getEnableBranchAutoBuild()
Enables auto-building of branches for the Amplify App.
public App withEnableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables auto-building of branches for the Amplify App.
enableBranchAutoBuild
- Enables auto-building of branches for the Amplify App.public Boolean isEnableBranchAutoBuild()
Enables auto-building of branches for the Amplify App.
public void setEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for branches for the Amplify App.
enableBasicAuth
- Enables Basic Authorization for branches for the Amplify App.public Boolean getEnableBasicAuth()
Enables Basic Authorization for branches for the Amplify App.
public App withEnableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for branches for the Amplify App.
enableBasicAuth
- Enables Basic Authorization for branches for the Amplify App.public Boolean isEnableBasicAuth()
Enables Basic Authorization for branches for the Amplify App.
public void setBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for branches for the Amplify App.
basicAuthCredentials
- Basic Authorization credentials for branches for the Amplify App.public String getBasicAuthCredentials()
Basic Authorization credentials for branches for the Amplify App.
public App withBasicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for branches for the Amplify App.
basicAuthCredentials
- Basic Authorization credentials for branches for the Amplify App.public List<CustomRule> getCustomRules()
Custom redirect / rewrite rules for the Amplify App.
public void setCustomRules(Collection<CustomRule> customRules)
Custom redirect / rewrite rules for the Amplify App.
customRules
- Custom redirect / rewrite rules for the Amplify App.public App withCustomRules(CustomRule... customRules)
Custom redirect / rewrite rules for the Amplify App.
NOTE: This method appends the values to the existing list (if any). Use
setCustomRules(java.util.Collection)
or withCustomRules(java.util.Collection)
if you want to
override the existing values.
customRules
- Custom redirect / rewrite rules for the Amplify App.public App withCustomRules(Collection<CustomRule> customRules)
Custom redirect / rewrite rules for the Amplify App.
customRules
- Custom redirect / rewrite rules for the Amplify App.public void setProductionBranch(ProductionBranch productionBranch)
Structure with Production Branch information.
productionBranch
- Structure with Production Branch information.public ProductionBranch getProductionBranch()
Structure with Production Branch information.
public App withProductionBranch(ProductionBranch productionBranch)
Structure with Production Branch information.
productionBranch
- Structure with Production Branch information.public void setBuildSpec(String buildSpec)
BuildSpec content for Amplify App.
buildSpec
- BuildSpec content for Amplify App.public String getBuildSpec()
BuildSpec content for Amplify App.
public App withBuildSpec(String buildSpec)
BuildSpec content for Amplify App.
buildSpec
- BuildSpec content for 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.