public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
| Modifier and Type | Method and Description |
|---|---|
Service.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the service.
|
Service.Builder |
branchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
|
Service.Builder |
createdAt(Instant createdAt)
The time when the service was created.
|
Service.Builder |
description(String description)
A description of the service.
|
Service.Builder |
lastModifiedAt(Instant lastModifiedAt)
The time when the service was last modified.
|
Service.Builder |
name(String name)
The name of the service.
|
default Service.Builder |
pipeline(Consumer<ServicePipeline.Builder> pipeline)
The service pipeline detail data.
|
Service.Builder |
pipeline(ServicePipeline pipeline)
The service pipeline detail data.
|
Service.Builder |
repositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection.
|
Service.Builder |
repositoryId(String repositoryId)
The ID of the source code repository.
|
Service.Builder |
spec(String spec)
The formatted specification that defines the service.
|
Service.Builder |
status(ServiceStatus status)
The status of the service.
|
Service.Builder |
status(String status)
The status of the service.
|
Service.Builder |
statusMessage(String statusMessage)
A service status message.
|
Service.Builder |
templateName(String templateName)
The name of the service template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildService.Builder arn(String arn)
The Amazon Resource Name (ARN) of the service.
arn - The Amazon Resource Name (ARN) of the service.Service.Builder branchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
branchName - The name of the code repository branch that holds the code that's deployed in Proton.Service.Builder createdAt(Instant createdAt)
The time when the service was created.
createdAt - The time when the service was created.Service.Builder description(String description)
A description of the service.
description - A description of the service.Service.Builder lastModifiedAt(Instant lastModifiedAt)
The time when the service was last modified.
lastModifiedAt - The time when the service was last modified.Service.Builder name(String name)
The name of the service.
name - The name of the service.Service.Builder pipeline(ServicePipeline pipeline)
The service pipeline detail data.
pipeline - The service pipeline detail data.default Service.Builder pipeline(Consumer<ServicePipeline.Builder> pipeline)
The service pipeline detail data.
This is a convenience method that creates an instance of theServicePipeline.Builder avoiding the
need to create one manually via ServicePipeline.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to pipeline(ServicePipeline).
pipeline - a consumer that will call methods on ServicePipeline.Builderpipeline(ServicePipeline)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.
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.Service.Builder repositoryId(String repositoryId)
The ID of the source code repository.
repositoryId - The ID of the source code repository.Service.Builder spec(String spec)
The formatted specification that defines the service.
spec - The formatted specification that defines the service.Service.Builder status(String status)
The status of the service.
status - The status of the service.ServiceStatus,
ServiceStatusService.Builder status(ServiceStatus status)
The status of the service.
status - The status of the service.ServiceStatus,
ServiceStatusService.Builder statusMessage(String statusMessage)
A service status message.
statusMessage - A service status message.Service.Builder templateName(String templateName)
The name of the service template.
templateName - The name of the service template.Copyright © 2023. All rights reserved.