ToCopyableBuilder<Statement.Builder,Statement>
@Generated("software.amazon.awssdk:codegen") public class Statement extends Object implements ToCopyableBuilder<Statement.Builder,Statement>
Contains a reference to a Statement
element in a policy document that determines the result of the
simulation.
This data type is used by the MatchedStatements
member of the EvaluationResult
type.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Statement.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Statement.Builder |
builder() |
|
Position |
endPosition() |
The row and column of the end of a
Statement in an IAM policy. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends Statement.Builder> |
serializableBuilderClass() |
|
String |
sourcePolicyId() |
The identifier of the policy that was provided as an input.
|
String |
sourcePolicyType() |
The type of the policy.
|
Position |
startPosition() |
The row and column of the beginning of the
Statement in an IAM policy. |
Statement.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String sourcePolicyId()
The identifier of the policy that was provided as an input.
public String sourcePolicyType()
The type of the policy.
PolicySourceType
public Position startPosition()
The row and column of the beginning of the Statement
in an IAM policy.
Statement
in an IAM policy.public Position endPosition()
The row and column of the end of a Statement
in an IAM policy.
Statement
in an IAM policy.public Statement.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Statement.Builder,Statement>
public static Statement.Builder builder()
public static Class<? extends Statement.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.