Interface Service.Builder

    • 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.
      • 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
      • 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.