@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()
Returns true if the AutoBranchCreationPatterns property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
boolean |
hasCustomRules()
Returns true if the CustomRules property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasEnvironmentVariables()
Returns true if the EnvironmentVariables property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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 repository for the Amplify app.
|
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()
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.
You can use hasTags() to see if a value was sent in this field.
public final String description()
The description for the Amplify app.
public final String repository()
The 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()
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.
You can use hasEnvironmentVariables() to see if a value was sent in this field.
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.
public final boolean hasCustomRules()
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.
You can use hasCustomRules() to see if a value was sent in this field.
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()
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.
You can use hasAutoBranchCreationPatterns() to see if a value was sent in this field.
public final AutoBranchCreationConfig autoBranchCreationConfig()
Describes the automated branch creation configuration for the Amplify app.
public 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 © 2021. All rights reserved.