@Generated(value="software.amazon.awssdk:codegen") public final class Branch extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Branch.Builder,Branch>
Branch for an Amplify App, which maps to a 3rd party repository branch.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Branch.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
activeJobId()
Id of the active job for a branch, part of an Amplify App.
|
List<String> |
associatedResources()
List of custom resources that are linked to this branch.
|
String |
backendEnvironmentArn()
ARN for a Backend Environment, part of an Amplify App.
|
String |
basicAuthCredentials()
Basic Authorization credentials for a branch, part of an Amplify App.
|
String |
branchArn()
ARN for a branch, part of an Amplify App.
|
String |
branchName()
Name for a branch, part of an Amplify App.
|
static Branch.Builder |
builder() |
String |
buildSpec()
BuildSpec content for branch for Amplify App.
|
Instant |
createTime()
Creation date and time for a branch, part of an Amplify App.
|
List<String> |
customDomains()
Custom domains for a branch, part of an Amplify App.
|
String |
description()
Description for a branch, part of an Amplify App.
|
String |
destinationBranch()
The destination branch if the branch is a pull request branch.
|
String |
displayName()
Display name for a branch, will use as the default domain prefix.
|
Boolean |
enableAutoBuild()
Enables auto-building on push for a branch, part of an Amplify App.
|
Boolean |
enableBasicAuth()
Enables Basic Authorization for a branch, part of an Amplify App.
|
Boolean |
enableNotification()
Enables notifications for a branch, part of an Amplify App.
|
Boolean |
enablePullRequestPreview()
Enables Pull Request Preview for this branch.
|
Map<String,String> |
environmentVariables()
Environment Variables specific to a branch, part of an Amplify App.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
framework()
Framework for a branch, part of an Amplify App.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssociatedResources()
Returns true if the AssociatedResources property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasCustomDomains()
Returns true if the CustomDomains property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
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 Branch.Builder> |
serializableBuilderClass() |
String |
sourceBranch()
The source branch if the branch is a pull request branch.
|
Stage |
stage()
Stage for a branch, part of an Amplify App.
|
String |
stageAsString()
Stage for a branch, part of an Amplify App.
|
Map<String,String> |
tags()
Tag for branch for Amplify App.
|
String |
thumbnailUrl()
Thumbnail URL for the branch.
|
Branch.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
totalNumberOfJobs()
Total number of Jobs part of an Amplify App.
|
String |
ttl()
The content TTL for the website in seconds.
|
Instant |
updateTime()
Last updated date and time for a branch, part of an Amplify App.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String branchArn()
ARN for a branch, part of an Amplify App.
public String branchName()
Name for a branch, part of an Amplify App.
public String description()
Description for a branch, part of an Amplify App.
public boolean hasTags()
public Map<String,String> tags()
Tag for branch for Amplify App.
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 Stage stage()
Stage for a branch, part of an Amplify App.
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 a branch, part of an Amplify App.
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 displayName()
Display name for a branch, will use as the default domain prefix.
public Boolean enableNotification()
Enables notifications for a branch, part of an Amplify App.
public Instant createTime()
Creation date and time for a branch, part of an Amplify App.
public Instant updateTime()
Last updated date and time for a branch, part of an Amplify App.
public boolean hasEnvironmentVariables()
public Map<String,String> environmentVariables()
Environment Variables specific to a branch, part of an Amplify App.
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 Boolean enableAutoBuild()
Enables auto-building on push for a branch, part of an Amplify App.
public boolean hasCustomDomains()
public List<String> customDomains()
Custom domains for a branch, part of an Amplify App.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCustomDomains() to see if a value was sent in this field.
public String framework()
Framework for a branch, part of an Amplify App.
public String activeJobId()
Id of the active job for a branch, part of an Amplify App.
public String totalNumberOfJobs()
Total number of Jobs part of an Amplify App.
public Boolean enableBasicAuth()
Enables Basic Authorization for a branch, part of an Amplify App.
public String thumbnailUrl()
Thumbnail URL for the branch.
public String basicAuthCredentials()
Basic Authorization credentials for a branch, part of an Amplify App.
public String buildSpec()
BuildSpec content for branch for Amplify App.
public String ttl()
The content TTL for the website in seconds.
public boolean hasAssociatedResources()
public List<String> associatedResources()
List of custom resources that are linked to this branch.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAssociatedResources() to see if a value was sent in this field.
public Boolean enablePullRequestPreview()
Enables Pull Request Preview for this branch.
public String pullRequestEnvironmentName()
The Amplify Environment name for the pull request.
public String destinationBranch()
The destination branch if the branch is a pull request branch.
public String sourceBranch()
The source branch if the branch is a pull request branch.
public String backendEnvironmentArn()
ARN for a Backend Environment, part of an Amplify App.
public Branch.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Branch.Builder,Branch>public static Branch.Builder builder()
public static Class<? extends Branch.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.