Interface CreateServiceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>,ProtonRequest.Builder,SdkBuilder<CreateServiceRequest.Builder,CreateServiceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateServiceRequest
public static interface CreateServiceRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateServiceRequest.BuilderbranchName(String branchName)The name of the code repository branch that holds the code that's deployed in Proton.CreateServiceRequest.Builderdescription(String description)A description of the Proton service.CreateServiceRequest.Buildername(String name)The service name.CreateServiceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateServiceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateServiceRequest.BuilderrepositoryConnectionArn(String repositoryConnectionArn)The Amazon Resource Name (ARN) of the repository connection.CreateServiceRequest.BuilderrepositoryId(String repositoryId)The ID of the code repository.CreateServiceRequest.Builderspec(String spec)A link to a spec file that provides inputs as defined in the service template bundle schema file.CreateServiceRequest.Buildertags(Collection<Tag> tags)An optional list of metadata items that you can associate with the Proton service.CreateServiceRequest.Buildertags(Consumer<Tag.Builder>... tags)An optional list of metadata items that you can associate with the Proton service.CreateServiceRequest.Buildertags(Tag... tags)An optional list of metadata items that you can associate with the Proton service.CreateServiceRequest.BuildertemplateMajorVersion(String templateMajorVersion)The major version of the service template that was used to create the service.CreateServiceRequest.BuildertemplateMinorVersion(String templateMinorVersion)The minor version of the service template that was used to create the service.CreateServiceRequest.BuildertemplateName(String templateName)The name of the service template that's used to create the service.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
branchName
CreateServiceRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateServiceRequest.Builder description(String description)
A description of the Proton service.
- Parameters:
description- A description of the Proton service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateServiceRequest.Builder name(String name)
The service name.
- Parameters:
name- The service name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryConnectionArn
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryId
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.
- Parameters:
repositoryId- The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
templateMajorVersion
CreateServiceRequest.Builder templateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service.
- Parameters:
templateMajorVersion- The major version of the service template that was used to create the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateMinorVersion
CreateServiceRequest.Builder templateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service.
- Parameters:
templateMinorVersion- The minor version of the service template that was used to create the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
CreateServiceRequest.Builder templateName(String templateName)
The name of the service template that's used to create the service.
- Parameters:
templateName- The name of the service template that's used to create the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-