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 Summary
Modifier and TypeMethodDescriptiondefault Statement.Builder
endPosition
(Consumer<Position.Builder> endPosition) The row and column of the end of aStatement
in an IAM policy.endPosition
(Position endPosition) The row and column of the end of aStatement
in an IAM policy.sourcePolicyId
(String sourcePolicyId) The identifier of the policy that was provided as an input.sourcePolicyType
(String sourcePolicyType) The type of the policy.sourcePolicyType
(PolicySourceType sourcePolicyType) The type of the policy.default Statement.Builder
startPosition
(Consumer<Position.Builder> startPosition) The row and column of the beginning of theStatement
in an IAM policy.startPosition
(Position startPosition) The row and column of the beginning of theStatement
in an IAM policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
The row and column of the beginning of the
Statement
in an IAM policy.- Parameters:
startPosition
- The row and column of the beginning of theStatement
in an IAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startPosition
The row and column of the beginning of the
This is a convenience method that creates an instance of theStatement
in an IAM policy.Position.Builder
avoiding the need to create one manually viaPosition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartPosition(Position)
.- Parameters:
startPosition
- a consumer that will call methods onPosition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 aStatement
in an IAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endPosition
The row and column of the end of a
This is a convenience method that creates an instance of theStatement
in an IAM policy.Position.Builder
avoiding the need to create one manually viaPosition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendPosition(Position)
.- Parameters:
endPosition
- a consumer that will call methods onPosition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-