Interface UpdateEndpointRequest.Builder

    • Method Detail

      • endpointName

        UpdateEndpointRequest.Builder endpointName​(String endpointName)

        The name of the endpoint whose configuration you want to update.

        Parameters:
        endpointName - The name of the endpoint whose configuration you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointConfigName

        UpdateEndpointRequest.Builder endpointConfigName​(String endpointConfigName)

        The name of the new endpoint configuration.

        Parameters:
        endpointConfigName - The name of the new endpoint configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retainAllVariantProperties

        UpdateEndpointRequest.Builder retainAllVariantProperties​(Boolean retainAllVariantProperties)

        When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties to true. To use the variant properties specified in a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to false. The default is false.

        Parameters:
        retainAllVariantProperties - When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties to true. To use the variant properties specified in a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to false. The default is false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • excludeRetainedVariantProperties

        UpdateEndpointRequest.Builder excludeRetainedVariantProperties​(Collection<VariantProperty> excludeRetainedVariantProperties)

        When you are updating endpoint resources with RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.

        Parameters:
        excludeRetainedVariantProperties - When you are updating endpoint resources with RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • excludeRetainedVariantProperties

        UpdateEndpointRequest.Builder excludeRetainedVariantProperties​(VariantProperty... excludeRetainedVariantProperties)

        When you are updating endpoint resources with RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.

        Parameters:
        excludeRetainedVariantProperties - When you are updating endpoint resources with RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • excludeRetainedVariantProperties

        UpdateEndpointRequest.Builder excludeRetainedVariantProperties​(Consumer<VariantProperty.Builder>... excludeRetainedVariantProperties)

        When you are updating endpoint resources with RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.

        This is a convenience method that creates an instance of the VariantProperty.Builder avoiding the need to create one manually via VariantProperty.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #excludeRetainedVariantProperties(List).

        Parameters:
        excludeRetainedVariantProperties - a consumer that will call methods on VariantProperty.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #excludeRetainedVariantProperties(java.util.Collection)
      • deploymentConfig

        UpdateEndpointRequest.Builder deploymentConfig​(DeploymentConfig deploymentConfig)

        The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

        Parameters:
        deploymentConfig - The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retainDeploymentConfig

        UpdateEndpointRequest.Builder retainDeploymentConfig​(Boolean retainDeploymentConfig)

        Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).

        Parameters:
        retainDeploymentConfig - Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
        Returns:
        Returns a reference to this object so that method calls can be chained together.