Interface Statement.Builder

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

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

    • sourcePolicyId

      Statement.Builder sourcePolicyId(String sourcePolicyId)

      The identifier of the policy that was provided as an input.

      Parameters:
      sourcePolicyId - The identifier of the policy that was provided as an input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourcePolicyType

      Statement.Builder sourcePolicyType(String sourcePolicyType)

      The type of the policy.

      Parameters:
      sourcePolicyType - The type of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourcePolicyType

      Statement.Builder sourcePolicyType(PolicySourceType sourcePolicyType)

      The type of the policy.

      Parameters:
      sourcePolicyType - The type of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startPosition

      Statement.Builder startPosition(Position startPosition)

      The row and column of the beginning of the Statement in an IAM policy.

      Parameters:
      startPosition - The row and column of the beginning of the Statement in an IAM policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startPosition

      default Statement.Builder startPosition(Consumer<Position.Builder> startPosition)

      The row and column of the beginning of the Statement in an IAM policy.

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

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

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

      Statement.Builder endPosition(Position endPosition)

      The row and column of the end of a Statement in an IAM policy.

      Parameters:
      endPosition - The row and column of the end of a Statement in an IAM policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endPosition

      default Statement.Builder endPosition(Consumer<Position.Builder> endPosition)

      The row and column of the end of a Statement in an IAM policy.

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

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

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