@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 |
backendEnvironmentArn()
ARN for a Backend Environment, part of 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.
|
String |
displayName()
Display name for a branch, will use as the default domain prefix.
|
Boolean |
enableAutoBuild()
Enables auto building for the branch.
|
Boolean |
enableBasicAuth()
Enables Basic Auth for the branch.
|
Boolean |
enableNotification()
Enables notifications for the branch.
|
Boolean |
enablePullRequestPreview()
Enables Pull Request Preview for this branch.
|
Map<String,String> |
environmentVariables()
Environment Variables for the branch.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
framework()
Framework for the branch.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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 |
pullRequestEnvironmentName()
The Amplify Environment name for the pull request.
|
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 boolean hasEnvironmentVariables()
public Map<String,String> environmentVariables()
Environment Variables for the branch.
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 String basicAuthCredentials()
Basic Authorization credentials for the branch.
public Boolean enableBasicAuth()
Enables Basic Auth for the branch.
public boolean hasTags()
public Map<String,String> tags()
Tag for the branch.
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 the branch.
public String ttl()
The content TTL for the website in seconds.
public String displayName()
Display name for a branch, will use as the default domain prefix.
public Boolean enablePullRequestPreview()
Enables Pull Request Preview for this branch.
public String pullRequestEnvironmentName()
The Amplify Environment name for the pull request.
public String backendEnvironmentArn()
ARN for a Backend Environment, part of an Amplify App.
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 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 © 2020. All rights reserved.