Interface Service.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Service.Builder,
,Service> SdkBuilder<Service.Builder,
,Service> SdkPojo
- Enclosing class:
Service
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the service.branchName
(String branchName) The name of the code repository branch that holds the code that's deployed in Proton.The time when the service was created.description
(String description) A description of the service.lastModifiedAt
(Instant lastModifiedAt) The time when the service was last modified.The name of the service.default Service.Builder
pipeline
(Consumer<ServicePipeline.Builder> pipeline) The service pipeline detail data.pipeline
(ServicePipeline pipeline) The service pipeline detail data.repositoryConnectionArn
(String repositoryConnectionArn) The Amazon Resource Name (ARN) of the repository connection.repositoryId
(String repositoryId) The ID of the source code repository.The formatted specification that defines the service.The status of the service.status
(ServiceStatus status) The status of the service.statusMessage
(String statusMessage) A service status message.templateName
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
The service pipeline detail data.
This is a convenience method that creates an instance of theServicePipeline.Builder
avoiding the need to create one manually viaServicePipeline.builder()
.When the
Consumer
completes,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:
-
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
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
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
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:
-
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:
-
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
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.
-