public static interface Statement.Builder extends CopyableBuilder<Statement.Builder,Statement>
Modifier and Type | Method and Description |
---|---|
default Statement.Builder |
endPosition(Consumer<Position.Builder> endPosition)
The row and column of the end of a
Statement in an IAM policy. |
Statement.Builder |
endPosition(Position endPosition)
The row and column of the end of a
Statement in an IAM policy. |
Statement.Builder |
sourcePolicyId(String sourcePolicyId)
The identifier of the policy that was provided as an input.
|
Statement.Builder |
sourcePolicyType(PolicySourceType sourcePolicyType)
The type of the policy.
|
Statement.Builder |
sourcePolicyType(String sourcePolicyType)
The type of the policy.
|
default Statement.Builder |
startPosition(Consumer<Position.Builder> startPosition)
The row and column of the beginning of the
Statement in an IAM policy. |
Statement.Builder |
startPosition(Position startPosition)
The row and column of the beginning of the
Statement in an IAM policy. |
copy
applyMutation, build
Statement.Builder sourcePolicyId(String sourcePolicyId)
The identifier of the policy that was provided as an input.
sourcePolicyId
- The identifier of the policy that was provided as an input.Statement.Builder sourcePolicyType(String sourcePolicyType)
The type of the policy.
sourcePolicyType
- The type of the policy.PolicySourceType
,
PolicySourceType
Statement.Builder sourcePolicyType(PolicySourceType sourcePolicyType)
The type of the policy.
sourcePolicyType
- The type of the policy.PolicySourceType
,
PolicySourceType
Statement.Builder startPosition(Position startPosition)
The row and column of the beginning of the Statement
in an IAM policy.
startPosition
- The row and column of the beginning of the Statement
in an IAM policy.default Statement.Builder startPosition(Consumer<Position.Builder> startPosition)
The row and column of the beginning of the Statement
in an IAM policy.
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)
.startPosition
- a consumer that will call methods on Position.Builder
startPosition(Position)
Statement.Builder endPosition(Position endPosition)
The row and column of the end of a Statement
in an IAM policy.
endPosition
- The row and column of the end of a Statement
in an IAM policy.default Statement.Builder endPosition(Consumer<Position.Builder> endPosition)
The row and column of the end of a Statement
in an IAM policy.
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)
.endPosition
- a consumer that will call methods on Position.Builder
endPosition(Position)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.