Interface Service.Builder

    • Method Detail

      • serviceName

        Service.Builder serviceName​(String serviceName)

        The customer-provided service name.

        Parameters:
        serviceName - The customer-provided service name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceId

        Service.Builder serviceId​(String serviceId)

        An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.

        Parameters:
        serviceId - An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceArn

        Service.Builder serviceArn​(String serviceArn)

        The Amazon Resource Name (ARN) of this service.

        Parameters:
        serviceArn - The Amazon Resource Name (ARN) of this service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceUrl

        Service.Builder serviceUrl​(String serviceUrl)

        A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.

        Parameters:
        serviceUrl - A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
        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 App Runner service was created. It's in the Unix time stamp format.

        Parameters:
        createdAt - The time when the App Runner service was created. It's in the Unix time stamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        Service.Builder updatedAt​(Instant updatedAt)

        The time when the App Runner service was last updated at. It's in the Unix time stamp format.

        Parameters:
        updatedAt - The time when the App Runner service was last updated at. It's in the Unix time stamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deletedAt

        Service.Builder deletedAt​(Instant deletedAt)

        The time when the App Runner service was deleted. It's in the Unix time stamp format.

        Parameters:
        deletedAt - The time when the App Runner service was deleted. It's in the Unix time stamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Service.Builder status​(String status)

        The current state of the App Runner service. These particular values mean the following.

        • CREATE_FAILED – The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using UpdateService.

        • DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.

        Parameters:
        status - The current state of the App Runner service. These particular values mean the following.

        • CREATE_FAILED – The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using UpdateService .

        • DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.

        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 current state of the App Runner service. These particular values mean the following.

        • CREATE_FAILED – The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using UpdateService.

        • DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.

        Parameters:
        status - The current state of the App Runner service. These particular values mean the following.

        • CREATE_FAILED – The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using UpdateService .

        • DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ServiceStatus, ServiceStatus
      • sourceConfiguration

        Service.Builder sourceConfiguration​(SourceConfiguration sourceConfiguration)

        The source deployed to the App Runner service. It can be a code or an image repository.

        Parameters:
        sourceConfiguration - The source deployed to the App Runner service. It can be a code or an image repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceConfiguration

        Service.Builder instanceConfiguration​(InstanceConfiguration instanceConfiguration)

        The runtime configuration of instances (scaling units) of this service.

        Parameters:
        instanceConfiguration - The runtime configuration of instances (scaling units) of this service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionConfiguration

        Service.Builder encryptionConfiguration​(EncryptionConfiguration encryptionConfiguration)

        The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed key.

        Parameters:
        encryptionConfiguration - The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • healthCheckConfiguration

        Service.Builder healthCheckConfiguration​(HealthCheckConfiguration healthCheckConfiguration)

        The settings for the health check that App Runner performs to monitor the health of this service.

        Parameters:
        healthCheckConfiguration - The settings for the health check that App Runner performs to monitor the health of this service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoScalingConfigurationSummary

        Service.Builder autoScalingConfigurationSummary​(AutoScalingConfigurationSummary autoScalingConfigurationSummary)

        Summary information for the App Runner automatic scaling configuration resource that's associated with this service.

        Parameters:
        autoScalingConfigurationSummary - Summary information for the App Runner automatic scaling configuration resource that's associated with this service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkConfiguration

        Service.Builder networkConfiguration​(NetworkConfiguration networkConfiguration)

        Configuration settings related to network traffic of the web application that this service runs.

        Parameters:
        networkConfiguration - Configuration settings related to network traffic of the web application that this service runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • observabilityConfiguration

        Service.Builder observabilityConfiguration​(ServiceObservabilityConfiguration observabilityConfiguration)

        The observability configuration of this service.

        Parameters:
        observabilityConfiguration - The observability configuration of this service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.