Interface NodeLifecycleActionsRequest.Builder

  • Method Details

    • stages

      The lifecycle stages where you configure scripts to run.

      Parameters:
      stages - The lifecycle stages where you configure scripts to run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stages

      The lifecycle stages where you configure scripts to run.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to stages(NodeLifecycleStages).

      Parameters:
      stages - a consumer that will call methods on NodeLifecycleStages.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scriptCachingPolicy

      NodeLifecycleActionsRequest.Builder scriptCachingPolicy(String scriptCachingPolicy)

      The caching policy for node lifecycle scripts. The default value is CACHE_ONCE. Valid values:

      • CACHE_ONCE – Downloads each script once and reuses it on subsequent boots.

      • REFRESH_ON_REBOOT – Downloads each script on every boot.

      Parameters:
      scriptCachingPolicy - The caching policy for node lifecycle scripts. The default value is CACHE_ONCE. Valid values:

      • CACHE_ONCE – Downloads each script once and reuses it on subsequent boots.

      • REFRESH_ON_REBOOT – Downloads each script on every boot.

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

      NodeLifecycleActionsRequest.Builder scriptCachingPolicy(ScriptCachingPolicy scriptCachingPolicy)

      The caching policy for node lifecycle scripts. The default value is CACHE_ONCE. Valid values:

      • CACHE_ONCE – Downloads each script once and reuses it on subsequent boots.

      • REFRESH_ON_REBOOT – Downloads each script on every boot.

      Parameters:
      scriptCachingPolicy - The caching policy for node lifecycle scripts. The default value is CACHE_ONCE. Valid values:

      • CACHE_ONCE – Downloads each script once and reuses it on subsequent boots.

      • REFRESH_ON_REBOOT – Downloads each script on every boot.

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