Interface Service.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Service.Builder,Service>,SdkBuilder<Service.Builder,Service>,SdkPojo
- Enclosing class:
- Service
public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Service.Builderarn(String arn)The Amazon Resource Name (ARN) of the service.Service.BuilderbranchName(String branchName)The name of the code repository branch that holds the code that's deployed in Proton.Service.BuildercreatedAt(Instant createdAt)The time when the service was created.Service.Builderdescription(String description)A description of the service.Service.BuilderlastModifiedAt(Instant lastModifiedAt)The time when the service was last modified.Service.Buildername(String name)The name of the service.default Service.Builderpipeline(Consumer<ServicePipeline.Builder> pipeline)The service pipeline detail data.Service.Builderpipeline(ServicePipeline pipeline)The service pipeline detail data.Service.BuilderrepositoryConnectionArn(String repositoryConnectionArn)The Amazon Resource Name (ARN) of the repository connection.Service.BuilderrepositoryId(String repositoryId)The ID of the source code repository.Service.Builderspec(String spec)The formatted specification that defines the service.Service.Builderstatus(String status)The status of the service.Service.Builderstatus(ServiceStatus status)The status of the service.Service.BuilderstatusMessage(String statusMessage)A service status message.Service.BuildertemplateName(String templateName)The name of the service template.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
arn
Service.Builder arn(String arn)
The Amazon Resource Name (ARN) of the service.
- Parameters:
arn- The Amazon Resource Name (ARN) of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchName
Service.Builder branchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
- Parameters:
branchName- The name of the code repository branch that holds the code that's deployed in Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Service.Builder createdAt(Instant createdAt)
The time when the service was created.
- Parameters:
createdAt- The time when the service was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Service.Builder description(String description)
A description of the service.
- Parameters:
description- A description of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
Service.Builder lastModifiedAt(Instant lastModifiedAt)
The time when the service was last modified.
- Parameters:
lastModifiedAt- The time when the service was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Service.Builder name(String name)
The name of the service.
- Parameters:
name- The name of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
Service.Builder pipeline(ServicePipeline pipeline)
The service pipeline detail data.
- Parameters:
pipeline- The service pipeline detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
default Service.Builder pipeline(Consumer<ServicePipeline.Builder> pipeline)
The service pipeline detail data.
This is a convenience method that creates an instance of theServicePipeline.Builderavoiding the need to create one manually viaServicePipeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topipeline(ServicePipeline).- Parameters:
pipeline- a consumer that will call methods onServicePipeline.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pipeline(ServicePipeline)
-
repositoryConnectionArn
Service.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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryId
Service.Builder repositoryId(String repositoryId)
The ID of the source code repository.
- Parameters:
repositoryId- The ID of the source code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
Service.Builder spec(String spec)
The formatted specification that defines the service.
- Parameters:
spec- The formatted specification that defines the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Service.Builder status(String status)
The status of the service.
- Parameters:
status- The status of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceStatus,ServiceStatus
-
status
Service.Builder status(ServiceStatus status)
The status of the service.
- Parameters:
status- The status of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceStatus,ServiceStatus
-
statusMessage
Service.Builder statusMessage(String statusMessage)
A service status message.
- Parameters:
statusMessage- A service status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
Service.Builder templateName(String templateName)
The name of the service template.
- Parameters:
templateName- The name of the service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-