@Generated(value="software.amazon.awssdk:codegen") public final class App extends Object implements SdkPojo, Serializable, ToCopyableBuilder<App.Builder,App>
Represents the different branches of a repository for building, deploying, and hosting an Amplify app.
| Modifier and Type | Class and Description |
|---|---|
static interface |
App.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appArn()
The Amazon Resource Name (ARN) of the Amplify app.
|
String |
appId()
The unique ID of the Amplify app.
|
AutoBranchCreationConfig |
autoBranchCreationConfig()
Describes the automated branch creation configuration for the Amplify app.
|
List<String> |
autoBranchCreationPatterns()
Describes the automated branch creation glob patterns for the Amplify app.
|
String |
basicAuthCredentials()
The basic authorization credentials for branches for the Amplify app.
|
static App.Builder |
builder() |
String |
buildSpec()
Describes the content of the build specification (build spec) for the Amplify app.
|
Instant |
createTime()
Creates a date and time for the Amplify app.
|
String |
customHeaders()
Describes the custom HTTP headers for the Amplify app.
|
List<CustomRule> |
customRules()
Describes the custom redirect and rewrite rules for the Amplify app.
|
String |
defaultDomain()
The default domain for the Amplify app.
|
String |
description()
The description for the Amplify app.
|
Boolean |
enableAutoBranchCreation()
Enables automated branch creation for the Amplify app.
|
Boolean |
enableBasicAuth()
Enables basic authorization for the Amplify app's branches.
|
Boolean |
enableBranchAutoBuild()
Enables the auto-building of branches for the Amplify app.
|
Boolean |
enableBranchAutoDeletion()
Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
|
Map<String,String> |
environmentVariables()
The environment variables for the Amplify app.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAutoBranchCreationPatterns()
For responses, this returns true if the service returned a value for the AutoBranchCreationPatterns property.
|
boolean |
hasCustomRules()
For responses, this returns true if the service returned a value for the CustomRules property.
|
boolean |
hasEnvironmentVariables()
For responses, this returns true if the service returned a value for the EnvironmentVariables property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
iamServiceRoleArn()
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
|
String |
name()
The name for the Amplify app.
|
Platform |
platform()
The platform for the Amplify app.
|
String |
platformAsString()
The platform for the Amplify app.
|
ProductionBranch |
productionBranch()
Describes the information about a production branch of the Amplify app.
|
String |
repository()
The Git repository for the Amplify app.
|
RepositoryCloneMethod |
repositoryCloneMethod()
|
String |
repositoryCloneMethodAsString()
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends App.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tag for the Amplify app.
|
App.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateTime()
Updates the date and time for the Amplify app.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String appId()
The unique ID of the Amplify app.
public final String appArn()
The Amazon Resource Name (ARN) of the Amplify app.
public final String name()
The name for the Amplify app.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tag for the Amplify app.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final String description()
The description for the Amplify app.
public final String repository()
The Git repository for the Amplify app.
public final Platform platform()
The platform for the Amplify app.
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final String platformAsString()
The platform for the Amplify app.
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final Instant createTime()
Creates a date and time for the Amplify app.
public final Instant updateTime()
Updates the date and time for the Amplify app.
public final String iamServiceRoleArn()
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
public final boolean hasEnvironmentVariables()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> environmentVariables()
The environment variables for the Amplify app.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEnvironmentVariables() method.
public final String defaultDomain()
The default domain for the Amplify app.
public final Boolean enableBranchAutoBuild()
Enables the auto-building of branches for the Amplify app.
public final Boolean enableBranchAutoDeletion()
Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
public final Boolean enableBasicAuth()
Enables basic authorization for the Amplify app's branches.
public final String basicAuthCredentials()
The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password.
user:password.public final boolean hasCustomRules()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CustomRule> customRules()
Describes the custom redirect and rewrite rules for the Amplify app.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCustomRules() method.
public final ProductionBranch productionBranch()
Describes the information about a production branch of the Amplify app.
public final String buildSpec()
Describes the content of the build specification (build spec) for the Amplify app.
public final String customHeaders()
Describes the custom HTTP headers for the Amplify app.
public final Boolean enableAutoBranchCreation()
Enables automated branch creation for the Amplify app.
public final boolean hasAutoBranchCreationPatterns()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> autoBranchCreationPatterns()
Describes the automated branch creation glob patterns for the Amplify app.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAutoBranchCreationPatterns() method.
public final AutoBranchCreationConfig autoBranchCreationConfig()
Describes the automated branch creation configuration for the Amplify app.
public final RepositoryCloneMethod repositoryCloneMethod()
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository, SIGV4
for an Amazon Web Services CodeCommit repository, and SSH for GitLab and Bitbucket repositories.
If the service returns an enum value that is not available in the current SDK version,
repositoryCloneMethod will return RepositoryCloneMethod.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from repositoryCloneMethodAsString().
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository,
SIGV4 for an Amazon Web Services CodeCommit repository, and SSH for GitLab and
Bitbucket repositories.
RepositoryCloneMethodpublic final String repositoryCloneMethodAsString()
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository, SIGV4
for an Amazon Web Services CodeCommit repository, and SSH for GitLab and Bitbucket repositories.
If the service returns an enum value that is not available in the current SDK version,
repositoryCloneMethod will return RepositoryCloneMethod.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from repositoryCloneMethodAsString().
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git
repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository,
SIGV4 for an Amazon Web Services CodeCommit repository, and SSH for GitLab and
Bitbucket repositories.
RepositoryCloneMethodpublic App.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<App.Builder,App>public static App.Builder builder()
public static Class<? extends App.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.