@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)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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()
.
Platform
public 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()
.
Platform
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
toBuilder
in class AmplifyRequest
public static CreateAppRequest.Builder builder()
public static Class<? extends CreateAppRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.