@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.
|
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 |
displayName()
Display name for a branch, part of an Amplify App.
|
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.
|
Map<String,String> |
environmentVariables()
Environment Variables specific to a branch, part of an Amplify App.
|
boolean |
equals(Object obj) |
String |
framework()
Framework for a branch, part of an Amplify App.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Branch.Builder> |
serializableBuilderClass() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public 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 Map<String,String> tags()
Tag for branch for Amplify App.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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()
.
Stage
public 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()
.
Stage
public String displayName()
Display name for a branch, part of an Amplify App.
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 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.
public Boolean enableAutoBuild()
Enables auto-building on push for a branch, part of an Amplify App.
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.
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 Branch.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Branch.Builder,Branch>
public static Branch.Builder builder()
public static Class<? extends Branch.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.