public static interface CreateBranchRequest.Builder extends AmplifyRequest.Builder, SdkPojo, CopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
Modifier and Type | Method and Description |
---|---|
CreateBranchRequest.Builder |
appId(String appId)
Unique Id for an Amplify App.
|
CreateBranchRequest.Builder |
basicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the branch.
|
CreateBranchRequest.Builder |
branchName(String branchName)
Name for the branch.
|
CreateBranchRequest.Builder |
buildSpec(String buildSpec)
BuildSpec for the branch.
|
CreateBranchRequest.Builder |
description(String description)
Description for the branch.
|
CreateBranchRequest.Builder |
enableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
|
CreateBranchRequest.Builder |
enableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the branch.
|
CreateBranchRequest.Builder |
enableNotification(Boolean enableNotification)
Enables notifications for the branch.
|
CreateBranchRequest.Builder |
environmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
|
CreateBranchRequest.Builder |
framework(String framework)
Framework for the branch.
|
CreateBranchRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateBranchRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateBranchRequest.Builder |
stage(Stage stage)
Stage for the branch.
|
CreateBranchRequest.Builder |
stage(String stage)
Stage for the branch.
|
CreateBranchRequest.Builder |
tags(Map<String,String> tags)
Tag for the branch.
|
CreateBranchRequest.Builder |
ttl(String ttl)
The content TTL for the website in seconds.
|
build
overrideConfiguration
copy
applyMutation, build
CreateBranchRequest.Builder appId(String appId)
Unique Id for an Amplify App.
appId
- Unique Id for an Amplify App.CreateBranchRequest.Builder branchName(String branchName)
Name for the branch.
branchName
- Name for the branch.CreateBranchRequest.Builder description(String description)
Description for the branch.
description
- Description for the branch.CreateBranchRequest.Builder stage(String stage)
Stage for the branch.
CreateBranchRequest.Builder stage(Stage stage)
Stage for the branch.
CreateBranchRequest.Builder framework(String framework)
Framework for the branch.
framework
- Framework for the branch.CreateBranchRequest.Builder enableNotification(Boolean enableNotification)
Enables notifications for the branch.
enableNotification
- Enables notifications for the branch.CreateBranchRequest.Builder enableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
enableAutoBuild
- Enables auto building for the branch.CreateBranchRequest.Builder environmentVariables(Map<String,String> environmentVariables)
Environment Variables for the branch.
environmentVariables
- Environment Variables for the branch.CreateBranchRequest.Builder basicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for the branch.
basicAuthCredentials
- Basic Authorization credentials for the branch.CreateBranchRequest.Builder enableBasicAuth(Boolean enableBasicAuth)
Enables Basic Auth for the branch.
enableBasicAuth
- Enables Basic Auth for the branch.CreateBranchRequest.Builder tags(Map<String,String> tags)
Tag for the branch.
tags
- Tag for the branch.CreateBranchRequest.Builder buildSpec(String buildSpec)
BuildSpec for the branch.
buildSpec
- BuildSpec for the branch.CreateBranchRequest.Builder ttl(String ttl)
The content TTL for the website in seconds.
ttl
- The content TTL for the website in seconds.CreateBranchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateBranchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.