JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.apprunner.model

Class UpdateServiceRequest

    • Constructor Detail

      • UpdateServiceRequest

        public UpdateServiceRequest()
    • Method Detail

      • setServiceArn

        public void setServiceArn(String serviceArn)

        The Amazon Resource Name (ARN) of the App Runner service that you want to update.

        Parameters:
        serviceArn - The Amazon Resource Name (ARN) of the App Runner service that you want to update.
      • getServiceArn

        public String getServiceArn()

        The Amazon Resource Name (ARN) of the App Runner service that you want to update.

        Returns:
        The Amazon Resource Name (ARN) of the App Runner service that you want to update.
      • withServiceArn

        public UpdateServiceRequest withServiceArn(String serviceArn)

        The Amazon Resource Name (ARN) of the App Runner service that you want to update.

        Parameters:
        serviceArn - The Amazon Resource Name (ARN) of the App Runner service that you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceConfiguration

        public void setSourceConfiguration(SourceConfiguration sourceConfiguration)

        The source configuration to apply to the App Runner service.

        You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository. To update the source configuration, set the values to members of the structure that you include.

        Parameters:
        sourceConfiguration - The source configuration to apply to the App Runner service.

        You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository. To update the source configuration, set the values to members of the structure that you include.

      • getSourceConfiguration

        public SourceConfiguration getSourceConfiguration()

        The source configuration to apply to the App Runner service.

        You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository. To update the source configuration, set the values to members of the structure that you include.

        Returns:
        The source configuration to apply to the App Runner service.

        You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository . To update the source configuration, set the values to members of the structure that you include.

      • withSourceConfiguration

        public UpdateServiceRequest withSourceConfiguration(SourceConfiguration sourceConfiguration)

        The source configuration to apply to the App Runner service.

        You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository. To update the source configuration, set the values to members of the structure that you include.

        Parameters:
        sourceConfiguration - The source configuration to apply to the App Runner service.

        You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository. To update the source configuration, set the values to members of the structure that you include.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceConfiguration

        public void setInstanceConfiguration(InstanceConfiguration instanceConfiguration)

        The runtime configuration to apply to instances (scaling units) of your service.

        Parameters:
        instanceConfiguration - The runtime configuration to apply to instances (scaling units) of your service.
      • getInstanceConfiguration

        public InstanceConfiguration getInstanceConfiguration()

        The runtime configuration to apply to instances (scaling units) of your service.

        Returns:
        The runtime configuration to apply to instances (scaling units) of your service.
      • withInstanceConfiguration

        public UpdateServiceRequest withInstanceConfiguration(InstanceConfiguration instanceConfiguration)

        The runtime configuration to apply to instances (scaling units) of your service.

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

        public void setAutoScalingConfigurationArn(String autoScalingConfigurationArn)

        The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.

        Parameters:
        autoScalingConfigurationArn - The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.
      • getAutoScalingConfigurationArn

        public String getAutoScalingConfigurationArn()

        The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.

        Returns:
        The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.
      • withAutoScalingConfigurationArn

        public UpdateServiceRequest withAutoScalingConfigurationArn(String autoScalingConfigurationArn)

        The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.

        Parameters:
        autoScalingConfigurationArn - The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHealthCheckConfiguration

        public void setHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)

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

        Parameters:
        healthCheckConfiguration - The settings for the health check that App Runner performs to monitor the health of the App Runner service.
      • getHealthCheckConfiguration

        public HealthCheckConfiguration getHealthCheckConfiguration()

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

        Returns:
        The settings for the health check that App Runner performs to monitor the health of the App Runner service.
      • withHealthCheckConfiguration

        public UpdateServiceRequest withHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)

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

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

        public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)

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

        Parameters:
        networkConfiguration - Configuration settings related to network traffic of the web application that the App Runner service runs.
      • getNetworkConfiguration

        public NetworkConfiguration getNetworkConfiguration()

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

        Returns:
        Configuration settings related to network traffic of the web application that the App Runner service runs.
      • withNetworkConfiguration

        public UpdateServiceRequest withNetworkConfiguration(NetworkConfiguration networkConfiguration)

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

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

        public void setObservabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)

        The observability configuration of your service.

        Parameters:
        observabilityConfiguration - The observability configuration of your service.
      • getObservabilityConfiguration

        public ServiceObservabilityConfiguration getObservabilityConfiguration()

        The observability configuration of your service.

        Returns:
        The observability configuration of your service.
      • withObservabilityConfiguration

        public UpdateServiceRequest withObservabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)

        The observability configuration of your service.

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

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /