public static interface CreateServiceRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateServiceRequest.Builder |
branchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
|
CreateServiceRequest.Builder |
description(String description)
A description of the Proton service.
|
CreateServiceRequest.Builder |
name(String name)
The service name.
|
CreateServiceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateServiceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateServiceRequest.Builder |
repositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection.
|
CreateServiceRequest.Builder |
repositoryId(String repositoryId)
The ID of the code repository.
|
CreateServiceRequest.Builder |
spec(String spec)
A link to a spec file that provides inputs as defined in the service template bundle schema file.
|
CreateServiceRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service.
|
CreateServiceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton service.
|
CreateServiceRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service.
|
CreateServiceRequest.Builder |
templateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service.
|
CreateServiceRequest.Builder |
templateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service.
|
CreateServiceRequest.Builder |
templateName(String templateName)
The name of the service template that's used to create the service.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateServiceRequest.Builder branchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton. Don't include this parameter if your service template doesn't include a service pipeline.
branchName - The name of the code repository branch that holds the code that's deployed in Proton. Don't
include this parameter if your service template doesn't include a service pipeline.CreateServiceRequest.Builder description(String description)
A description of the Proton service.
description - A description of the Proton service.CreateServiceRequest.Builder name(String name)
The service name.
name - The service name.CreateServiceRequest.Builder repositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryConnectionArn - The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide. Don't include this
parameter if your service template doesn't include a service pipeline.CreateServiceRequest.Builder repositoryId(String repositoryId)
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryId - The ID of the code repository. Don't include this parameter if your service template
doesn't include a service pipeline.CreateServiceRequest.Builder spec(String spec)
A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the Proton User Guide.
spec - A link to a spec file that provides inputs as defined in the service template bundle schema file. The
spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template
doesn’t include a service pipeline. For more information, see Create a service in
the Proton User Guide.CreateServiceRequest.Builder tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags - An optional list of metadata items that you can associate with the Proton service. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateServiceRequest.Builder tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags - An optional list of metadata items that you can associate with the Proton service. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
CreateServiceRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateServiceRequest.Builder templateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service.
templateMajorVersion - The major version of the service template that was used to create the service.CreateServiceRequest.Builder templateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service.
templateMinorVersion - The minor version of the service template that was used to create the service.CreateServiceRequest.Builder templateName(String templateName)
The name of the service template that's used to create the service.
templateName - The name of the service template that's used to create the service.CreateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.