Interface Service.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Service.Builder,Service>, SdkBuilder<Service.Builder,Service>, SdkPojo
Enclosing class:
Service

@Mutable @NotThreadSafe public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
  • 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

      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 the ServicePipeline.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).

      Parameters:
      pipeline - a consumer that will call methods on ServicePipeline.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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

      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.