Interface ResourceDrift.Builder

  • Method Details

    • appArn

      ResourceDrift.Builder appArn(String appArn)

      Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn: partition:resiliencehub:region:account:app-assessment/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

      Parameters:
      appArn - Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appVersion

      ResourceDrift.Builder appVersion(String appVersion)

      Version of the application whose resources have drifted.

      Parameters:
      appVersion - Version of the application whose resources have drifted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diffType

      ResourceDrift.Builder diffType(String diffType)

      Indicates if the resource was added or removed.

      Parameters:
      diffType - Indicates if the resource was added or removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • diffType

      Indicates if the resource was added or removed.

      Parameters:
      diffType - Indicates if the resource was added or removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • referenceId

      ResourceDrift.Builder referenceId(String referenceId)

      Reference identifier of the resource drift.

      Parameters:
      referenceId - Reference identifier of the resource drift.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifier

      ResourceDrift.Builder resourceIdentifier(ResourceIdentifier resourceIdentifier)

      Identifier of the drifted resource.

      Parameters:
      resourceIdentifier - Identifier of the drifted resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifier

      default ResourceDrift.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier)

      Identifier of the drifted resource.

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

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

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