@Generated(value="software.amazon.awssdk:codegen") public final class CreateBranchRequest extends AmplifyRequest implements ToCopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
Request structure for a branch create request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBranchRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appId()
Unique Id for an Amplify App.
|
String |
basicAuthCredentials()
Basic Authorization credentials for the branch.
|
String |
branchName()
Name for the branch.
|
static CreateBranchRequest.Builder |
builder() |
String |
buildSpec()
BuildSpec for the branch.
|
String |
description()
Description for the branch.
|
Boolean |
enableAutoBuild()
Enables auto building for the branch.
|
Boolean |
enableBasicAuth()
Enables Basic Auth for the branch.
|
Boolean |
enableNotification()
Enables notifications for the branch.
|
Map<String,String> |
environmentVariables()
Environment Variables for the branch.
|
boolean |
equals(Object obj) |
String |
framework()
Framework for the branch.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBranchRequest.Builder> |
serializableBuilderClass() |
Stage |
stage()
Stage for the branch.
|
String |
stageAsString()
Stage for the branch.
|
Map<String,String> |
tags()
Tag for the branch.
|
CreateBranchRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
ttl()
The content TTL for the website in seconds.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String appId()
Unique Id for an Amplify App.
public String branchName()
Name for the branch.
public String description()
Description for the branch.
public Stage stage()
Stage for the branch.
If the service returns an enum value that is not available in the current SDK version, stage will return
Stage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
Stagepublic String stageAsString()
Stage for the branch.
If the service returns an enum value that is not available in the current SDK version, stage will return
Stage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
Stagepublic String framework()
Framework for the branch.
public Boolean enableNotification()
Enables notifications for the branch.
public Boolean enableAutoBuild()
Enables auto building for the branch.
public Map<String,String> environmentVariables()
Environment Variables for the branch.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String basicAuthCredentials()
Basic Authorization credentials for the branch.
public Boolean enableBasicAuth()
Enables Basic Auth for the branch.
public Map<String,String> tags()
Tag for the branch.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String buildSpec()
BuildSpec for the branch.
public String ttl()
The content TTL for the website in seconds.
public CreateBranchRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>toBuilder in class AmplifyRequestpublic static CreateBranchRequest.Builder builder()
public static Class<? extends CreateBranchRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.