Interface Statement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Statement.Builder,Statement>,SdkBuilder<Statement.Builder,Statement>,SdkPojo
- Enclosing class:
- Statement
@Mutable @NotThreadSafe public static interface Statement.Builder extends SdkPojo, CopyableBuilder<Statement.Builder,Statement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Statement.BuilderendPosition(Consumer<Position.Builder> endPosition)The row and column of the end of aStatementin an IAM policy.Statement.BuilderendPosition(Position endPosition)The row and column of the end of aStatementin an IAM policy.Statement.BuildersourcePolicyId(String sourcePolicyId)The identifier of the policy that was provided as an input.Statement.BuildersourcePolicyType(String sourcePolicyType)The type of the policy.Statement.BuildersourcePolicyType(PolicySourceType sourcePolicyType)The type of the policy.default Statement.BuilderstartPosition(Consumer<Position.Builder> startPosition)The row and column of the beginning of theStatementin an IAM policy.Statement.BuilderstartPosition(Position startPosition)The row and column of the beginning of theStatementin 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
PolicySourceType,PolicySourceType
-
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:
PolicySourceType,PolicySourceType
-
startPosition
Statement.Builder startPosition(Position startPosition)
The row and column of the beginning of the
Statementin an IAM policy.- Parameters:
startPosition- The row and column of the beginning of theStatementin 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
This is a convenience method that creates an instance of theStatementin an IAM policy.Position.Builderavoiding the need to create one manually viaPosition.builder().When the
Consumercompletes,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:
startPosition(Position)
-
endPosition
Statement.Builder endPosition(Position endPosition)
The row and column of the end of a
Statementin an IAM policy.- Parameters:
endPosition- The row and column of the end of aStatementin 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
This is a convenience method that creates an instance of theStatementin an IAM policy.Position.Builderavoiding the need to create one manually viaPosition.builder().When the
Consumercompletes,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:
endPosition(Position)
-
-