Interface ResourceWarning.Builder

  • Method Details

    • workflow

      The workflow for the resource warning.

      Parameters:
      workflow - The workflow for the resource warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflow

      The workflow for the resource warning.

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

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

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

      ResourceWarning.Builder version(String version)

      The version for the resource warning.

      Parameters:
      version - The version for the resource warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepName

      ResourceWarning.Builder stepName(String stepName)

      The name of the step for the resource warning.

      Parameters:
      stepName - The name of the step for the resource warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      ResourceWarning.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the resource.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warningStatus

      ResourceWarning.Builder warningStatus(String warningStatus)

      The status of the resource warning.

      Parameters:
      warningStatus - The status of the resource warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • warningStatus

      ResourceWarning.Builder warningStatus(ResourceWarningStatus warningStatus)

      The status of the resource warning.

      Parameters:
      warningStatus - The status of the resource warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • warningUpdatedTime

      ResourceWarning.Builder warningUpdatedTime(Instant warningUpdatedTime)

      The timestamp when the warning was last updated.

      Parameters:
      warningUpdatedTime - The timestamp when the warning was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warningMessage

      ResourceWarning.Builder warningMessage(String warningMessage)

      The warning message about what needs to be corrected.

      Parameters:
      warningMessage - The warning message about what needs to be corrected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.