@Generated(value="software.amazon.awssdk:codegen") public final class CreateAppRequest extends AmplifyRequest implements ToCopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
The request structure used to create apps in Amplify.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateAppRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
The personal access token for a third-party source control system for an Amplify app.
|
AutoBranchCreationConfig |
autoBranchCreationConfig()
The automated branch creation configuration for an Amplify app.
|
List<String> |
autoBranchCreationPatterns()
The automated branch creation glob patterns for an Amplify app.
|
String |
basicAuthCredentials()
The credentials for basic authorization for an Amplify app.
|
static CreateAppRequest.Builder |
builder() |
String |
buildSpec()
The build specification (build spec) for an Amplify app.
|
String |
customHeaders()
The custom HTTP headers for an Amplify app.
|
List<CustomRule> |
customRules()
The custom rewrite and redirect rules for an Amplify app.
|
String |
description()
The description for an Amplify app.
|
Boolean |
enableAutoBranchCreation()
Enables automated branch creation for an Amplify app.
|
Boolean |
enableBasicAuth()
Enables basic authorization for an Amplify app.
|
Boolean |
enableBranchAutoBuild()
Enables the auto building of branches for an Amplify app.
|
Boolean |
enableBranchAutoDeletion()
Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
|
Map<String,String> |
environmentVariables()
The environment variables map for an 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 an Amplify app.
|
String |
name()
The name for an Amplify app.
|
String |
oauthToken()
The OAuth token for a third-party source control system for an Amplify app.
|
Platform |
platform()
The platform or framework for an Amplify app.
|
String |
platformAsString()
The platform or framework for an Amplify app.
|
String |
repository()
The repository for an Amplify app.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAppRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tag for an Amplify app.
|
CreateAppRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name for an Amplify app.
public final String description()
The description for an Amplify app.
public final String repository()
The repository for an Amplify app.
public final Platform platform()
The platform or framework for an 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 or framework for an 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 iamServiceRoleArn()
The AWS Identity and Access Management (IAM) service role for an Amplify app.
public final String oauthToken()
The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
public final String accessToken()
The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
public final boolean hasEnvironmentVariables()
public final Map<String,String> environmentVariables()
The environment variables map for an 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 Boolean enableBranchAutoBuild()
Enables the auto building of branches for an Amplify app.
public final Boolean enableBranchAutoDeletion()
Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
public final Boolean enableBasicAuth()
Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
public final String basicAuthCredentials()
The credentials for basic authorization for an Amplify app.
public final boolean hasCustomRules()
public final List<CustomRule> customRules()
The custom rewrite and redirect rules for an 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 boolean hasTags()
public final Map<String,String> tags()
The tag for an 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 buildSpec()
The build specification (build spec) for an Amplify app.
public final String customHeaders()
The custom HTTP headers for an Amplify app.
public final Boolean enableAutoBranchCreation()
Enables automated branch creation for an Amplify app.
public final boolean hasAutoBranchCreationPatterns()
public final List<String> autoBranchCreationPatterns()
The automated branch creation glob patterns for an 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()
The automated branch creation configuration for an Amplify app.
public CreateAppRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>toBuilder in class AmplifyRequestpublic static CreateAppRequest.Builder builder()
public static Class<? extends CreateAppRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.