@Generated(value="software.amazon.awssdk:codegen") public final class CreateAppRequest extends AmplifyRequest implements ToCopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
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()
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and
read-only deploy key.
|
AutoBranchCreationConfig |
autoBranchCreationConfig()
Automated branch creation config for the Amplify App.
|
List<String> |
autoBranchCreationPatterns()
Automated branch creation glob patterns for the Amplify App.
|
String |
basicAuthCredentials()
Credentials for Basic Authorization for an Amplify App.
|
static CreateAppRequest.Builder |
builder() |
String |
buildSpec()
BuildSpec for an Amplify App
|
List<CustomRule> |
customRules()
Custom rewrite / redirect rules for an Amplify App.
|
String |
description()
Description for an Amplify App
|
Boolean |
enableAutoBranchCreation()
Enables automated branch creation for the Amplify App.
|
Boolean |
enableBasicAuth()
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
|
Boolean |
enableBranchAutoBuild()
Enable the auto building of branches for an Amplify App.
|
Map<String,String> |
environmentVariables()
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()
AWS IAM service role for an Amplify App
|
String |
name()
Name for the Amplify App
|
String |
oauthToken()
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy
key.
|
Platform |
platform()
Platform / framework for an Amplify App
|
String |
platformAsString()
Platform / framework for an Amplify App
|
String |
repository()
Repository for an Amplify App
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAppRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
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 String name()
Name for the Amplify App
public String description()
Description for an Amplify App
public String repository()
Repository for an Amplify App
public Platform platform()
Platform / 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 String platformAsString()
Platform / 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 String iamServiceRoleArn()
AWS IAM service role for an Amplify App
public String oauthToken()
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored.
public String accessToken()
Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored.
public boolean hasEnvironmentVariables()
public Map<String,String> environmentVariables()
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 Boolean enableBranchAutoBuild()
Enable the auto building of branches for an Amplify App.
public Boolean enableBasicAuth()
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
public String basicAuthCredentials()
Credentials for Basic Authorization for an Amplify App.
public boolean hasCustomRules()
public List<CustomRule> customRules()
Custom rewrite / 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 boolean hasTags()
public Map<String,String> tags()
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 String buildSpec()
BuildSpec for an Amplify App
public Boolean enableAutoBranchCreation()
Enables automated branch creation for the Amplify App.
public boolean hasAutoBranchCreationPatterns()
public List<String> autoBranchCreationPatterns()
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 AutoBranchCreationConfig autoBranchCreationConfig()
Automated branch creation config for the 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.