@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Statement extends Object implements Serializable, Cloneable
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.
| Constructor and Description |
|---|
Statement() |
| Modifier and Type | Method and Description |
|---|---|
Statement |
clone() |
boolean |
equals(Object obj) |
Position |
getEndPosition()
The row and column of the end of a
Statement in an IAM policy. |
String |
getSourcePolicyId()
The identifier of the policy that was provided as an input.
|
String |
getSourcePolicyType()
The type of the policy.
|
Position |
getStartPosition()
The row and column of the beginning of the
Statement in an IAM policy. |
int |
hashCode() |
void |
setEndPosition(Position endPosition)
The row and column of the end of a
Statement in an IAM policy. |
void |
setSourcePolicyId(String sourcePolicyId)
The identifier of the policy that was provided as an input.
|
void |
setSourcePolicyType(PolicySourceType sourcePolicyType)
The type of the policy.
|
void |
setSourcePolicyType(String sourcePolicyType)
The type of the policy.
|
void |
setStartPosition(Position startPosition)
The row and column of the beginning of the
Statement in an IAM policy. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Statement |
withEndPosition(Position endPosition)
The row and column of the end of a
Statement in an IAM policy. |
Statement |
withSourcePolicyId(String sourcePolicyId)
The identifier of the policy that was provided as an input.
|
Statement |
withSourcePolicyType(PolicySourceType sourcePolicyType)
The type of the policy.
|
Statement |
withSourcePolicyType(String sourcePolicyType)
The type of the policy.
|
Statement |
withStartPosition(Position startPosition)
The row and column of the beginning of the
Statement in an IAM policy. |
public void setSourcePolicyId(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.public String getSourcePolicyId()
The identifier of the policy that was provided as an input.
public Statement withSourcePolicyId(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.public void setSourcePolicyType(String sourcePolicyType)
The type of the policy.
sourcePolicyType - The type of the policy.PolicySourceTypepublic String getSourcePolicyType()
The type of the policy.
PolicySourceTypepublic Statement withSourcePolicyType(String sourcePolicyType)
The type of the policy.
sourcePolicyType - The type of the policy.PolicySourceTypepublic void setSourcePolicyType(PolicySourceType sourcePolicyType)
The type of the policy.
sourcePolicyType - The type of the policy.PolicySourceTypepublic Statement withSourcePolicyType(PolicySourceType sourcePolicyType)
The type of the policy.
sourcePolicyType - The type of the policy.PolicySourceTypepublic void setStartPosition(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.public Position getStartPosition()
The row and column of the beginning of the Statement in an IAM policy.
Statement in an IAM policy.public Statement withStartPosition(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.public void setEndPosition(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.public Position getEndPosition()
The row and column of the end of a Statement in an IAM policy.
Statement in an IAM policy.public Statement withEndPosition(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.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.