Class ServiceState.Builder

  • Enclosing class:
    ServiceState

    public static final class ServiceState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ServiceState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the App Runner service.
        Returns:
        builder
      • arn

        public ServiceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the App Runner service.
        Returns:
        builder
      • autoScalingConfigurationArn

        public ServiceState.Builder autoScalingConfigurationArn​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> autoScalingConfigurationArn)
        Parameters:
        autoScalingConfigurationArn - ARN of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
        Returns:
        builder
      • autoScalingConfigurationArn

        public ServiceState.Builder autoScalingConfigurationArn​(java.lang.String autoScalingConfigurationArn)
        Parameters:
        autoScalingConfigurationArn - ARN of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
        Returns:
        builder
      • encryptionConfiguration

        public ServiceState.Builder encryptionConfiguration​(@Nullable
                                                            com.pulumi.core.Output<ServiceEncryptionConfigurationArgs> encryptionConfiguration)
        Parameters:
        encryptionConfiguration - Custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an AWS managed CMK. See `encryptionConfiguration` below.
        Returns:
        builder
      • encryptionConfiguration

        public ServiceState.Builder encryptionConfiguration​(ServiceEncryptionConfigurationArgs encryptionConfiguration)
        Parameters:
        encryptionConfiguration - Custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an AWS managed CMK. See `encryptionConfiguration` below.
        Returns:
        builder
      • healthCheckConfiguration

        public ServiceState.Builder healthCheckConfiguration​(@Nullable
                                                             com.pulumi.core.Output<ServiceHealthCheckConfigurationArgs> healthCheckConfiguration)
        Parameters:
        healthCheckConfiguration - Settings of the health check that AWS App Runner performs to monitor the health of your service. See `healthCheckConfiguration` below.
        Returns:
        builder
      • healthCheckConfiguration

        public ServiceState.Builder healthCheckConfiguration​(ServiceHealthCheckConfigurationArgs healthCheckConfiguration)
        Parameters:
        healthCheckConfiguration - Settings of the health check that AWS App Runner performs to monitor the health of your service. See `healthCheckConfiguration` below.
        Returns:
        builder
      • instanceConfiguration

        public ServiceState.Builder instanceConfiguration​(@Nullable
                                                          com.pulumi.core.Output<ServiceInstanceConfigurationArgs> instanceConfiguration)
        Parameters:
        instanceConfiguration - Runtime configuration of instances (scaling units) of the App Runner service. See `instanceConfiguration` below.
        Returns:
        builder
      • instanceConfiguration

        public ServiceState.Builder instanceConfiguration​(ServiceInstanceConfigurationArgs instanceConfiguration)
        Parameters:
        instanceConfiguration - Runtime configuration of instances (scaling units) of the App Runner service. See `instanceConfiguration` below.
        Returns:
        builder
      • networkConfiguration

        public ServiceState.Builder networkConfiguration​(@Nullable
                                                         com.pulumi.core.Output<ServiceNetworkConfigurationArgs> networkConfiguration)
        Parameters:
        networkConfiguration - Configuration settings related to network traffic of the web application that the App Runner service runs. See `networkConfiguration` below.
        Returns:
        builder
      • networkConfiguration

        public ServiceState.Builder networkConfiguration​(ServiceNetworkConfigurationArgs networkConfiguration)
        Parameters:
        networkConfiguration - Configuration settings related to network traffic of the web application that the App Runner service runs. See `networkConfiguration` below.
        Returns:
        builder
      • observabilityConfiguration

        public ServiceState.Builder observabilityConfiguration​(@Nullable
                                                               com.pulumi.core.Output<ServiceObservabilityConfigurationArgs> observabilityConfiguration)
        Parameters:
        observabilityConfiguration - Observability configuration of your service. See `observabilityConfiguration` below.
        Returns:
        builder
      • observabilityConfiguration

        public ServiceState.Builder observabilityConfiguration​(ServiceObservabilityConfigurationArgs observabilityConfiguration)
        Parameters:
        observabilityConfiguration - Observability configuration of your service. See `observabilityConfiguration` below.
        Returns:
        builder
      • region

        public ServiceState.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ServiceState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • serviceId

        public ServiceState.Builder serviceId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> serviceId)
        Parameters:
        serviceId - Alphanumeric ID that App Runner generated for this service. Unique within the AWS Region.
        Returns:
        builder
      • serviceId

        public ServiceState.Builder serviceId​(java.lang.String serviceId)
        Parameters:
        serviceId - Alphanumeric ID that App Runner generated for this service. Unique within the AWS Region.
        Returns:
        builder
      • serviceName

        public ServiceState.Builder serviceName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> serviceName)
        Parameters:
        serviceName - Name of the service.
        Returns:
        builder
      • serviceName

        public ServiceState.Builder serviceName​(java.lang.String serviceName)
        Parameters:
        serviceName - Name of the service.
        Returns:
        builder
      • serviceUrl

        public ServiceState.Builder serviceUrl​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> serviceUrl)
        Parameters:
        serviceUrl - Subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
        Returns:
        builder
      • serviceUrl

        public ServiceState.Builder serviceUrl​(java.lang.String serviceUrl)
        Parameters:
        serviceUrl - Subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
        Returns:
        builder
      • sourceConfiguration

        public ServiceState.Builder sourceConfiguration​(@Nullable
                                                        com.pulumi.core.Output<ServiceSourceConfigurationArgs> sourceConfiguration)
        Parameters:
        sourceConfiguration - Source to deploy to the App Runner service. Can be a code or an image repository. See `sourceConfiguration` below.
        Returns:
        builder
      • sourceConfiguration

        public ServiceState.Builder sourceConfiguration​(ServiceSourceConfigurationArgs sourceConfiguration)
        Parameters:
        sourceConfiguration - Source to deploy to the App Runner service. Can be a code or an image repository. See `sourceConfiguration` below.
        Returns:
        builder
      • status

        public ServiceState.Builder status​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Current state of the App Runner service.
        Returns:
        builder
      • status

        public ServiceState.Builder status​(java.lang.String status)
        Parameters:
        status - Current state of the App Runner service.
        Returns:
        builder
      • tags

        public ServiceState.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ServiceState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public ServiceState.Builder tagsAll​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ServiceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder