@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 |
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 |
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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 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.
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 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.
public Map<String,String> tags()
Tag for an Amplify App
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String buildSpec()
BuildSpec 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 String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.