Interface CloudComponentStatus.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CloudComponentStatus.Builder,CloudComponentStatus>, SdkBuilder<CloudComponentStatus.Builder,CloudComponentStatus>, SdkPojo
Enclosing class:
CloudComponentStatus

public static interface CloudComponentStatus.Builder extends SdkPojo, CopyableBuilder<CloudComponentStatus.Builder,CloudComponentStatus>
  • Method Details

    • componentState

      CloudComponentStatus.Builder componentState(String componentState)

      The state of the component version.

      Parameters:
      componentState - The state of the component version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • componentState

      CloudComponentStatus.Builder componentState(CloudComponentState componentState)

      The state of the component version.

      Parameters:
      componentState - The state of the component version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      A message that communicates details, such as errors, about the status of the component version.

      Parameters:
      message - A message that communicates details, such as errors, about the status of the component version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A dictionary of errors that communicate why the component version is in an error state. For example, if IoT Greengrass can't access an artifact for the component version, then errors contains the artifact's URI as a key, and the error message as the value for that key.

      Parameters:
      errors - A dictionary of errors that communicate why the component version is in an error state. For example, if IoT Greengrass can't access an artifact for the component version, then errors contains the artifact's URI as a key, and the error message as the value for that key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vendorGuidance

      CloudComponentStatus.Builder vendorGuidance(String vendorGuidance)

      The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

      • ACTIVE – This component version is available and recommended for use.

      • DISCONTINUED – This component version has been discontinued by its publisher. You can deploy this component version, but we recommend that you use a different version of this component.

      • DELETED – This component version has been deleted by its publisher, so you can't deploy it. If you have any existing deployments that specify this component version, those deployments will fail.

      Parameters:
      vendorGuidance - The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

      • ACTIVE – This component version is available and recommended for use.

      • DISCONTINUED – This component version has been discontinued by its publisher. You can deploy this component version, but we recommend that you use a different version of this component.

      • DELETED – This component version has been deleted by its publisher, so you can't deploy it. If you have any existing deployments that specify this component version, those deployments will fail.

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

      CloudComponentStatus.Builder vendorGuidance(VendorGuidance vendorGuidance)

      The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

      • ACTIVE – This component version is available and recommended for use.

      • DISCONTINUED – This component version has been discontinued by its publisher. You can deploy this component version, but we recommend that you use a different version of this component.

      • DELETED – This component version has been deleted by its publisher, so you can't deploy it. If you have any existing deployments that specify this component version, those deployments will fail.

      Parameters:
      vendorGuidance - The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

      • ACTIVE – This component version is available and recommended for use.

      • DISCONTINUED – This component version has been discontinued by its publisher. You can deploy this component version, but we recommend that you use a different version of this component.

      • DELETED – This component version has been deleted by its publisher, so you can't deploy it. If you have any existing deployments that specify this component version, those deployments will fail.

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

      CloudComponentStatus.Builder vendorGuidanceMessage(String vendorGuidanceMessage)

      A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.

      Parameters:
      vendorGuidanceMessage - A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.