@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAppRequest extends AmplifyRequest implements ToCopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
Request structure for update App request.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateAppRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
appId()
Unique Id for an Amplify App.
|
String |
basicAuthCredentials()
Basic Authorization credentials for an Amplify App.
|
static UpdateAppRequest.Builder |
builder() |
String |
buildSpec()
BuildSpec for an Amplify App.
|
List<CustomRule> |
customRules()
Custom redirect / rewrite rules for an Amplify App.
|
String |
description()
Description for an Amplify App.
|
Boolean |
enableBasicAuth()
Enables Basic Authorization for an Amplify App.
|
Boolean |
enableBranchAutoBuild()
Enables branch auto-building for an Amplify App.
|
Map<String,String> |
environmentVariables()
Environment Variables 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()
IAM service role for an Amplify App.
|
String |
name()
Name for an Amplify App.
|
Platform |
platform()
Platform for an Amplify App.
|
String |
platformAsString()
Platform for an Amplify App.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAppRequest.Builder> |
serializableBuilderClass() |
UpdateAppRequest.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 appId()
Unique Id for an Amplify App.
public String name()
Name for an Amplify App.
public String description()
Description for an Amplify App.
public Platform platform()
Platform 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 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()
IAM service role for an Amplify App.
public Map<String,String> environmentVariables()
Environment Variables for an Amplify App.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean enableBranchAutoBuild()
Enables branch auto-building for an Amplify App.
public Boolean enableBasicAuth()
Enables Basic Authorization for an Amplify App.
public String basicAuthCredentials()
Basic Authorization credentials for an Amplify App.
public List<CustomRule> customRules()
Custom redirect / rewrite rules 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 UpdateAppRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
toBuilder
in class AmplifyRequest
public static UpdateAppRequest.Builder builder()
public static Class<? extends UpdateAppRequest.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.