Class Position
java.lang.Object
com.amazonaws.services.identitymanagement.model.Position
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the row and column of a location of a Statement
element
in a policy document.
This data type is used as a member of the Statement
type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The column in the line containing the specified position in the document.getLine()
The line containing the specified position in the document.int
hashCode()
void
The column in the line containing the specified position in the document.void
The line containing the specified position in the document.toString()
Returns a string representation of this object; useful for testing and debugging.withColumn
(Integer column) The column in the line containing the specified position in the document.The line containing the specified position in the document.
-
Constructor Details
-
Position
public Position()
-
-
Method Details
-
setLine
The line containing the specified position in the document.
- Parameters:
line
- The line containing the specified position in the document.
-
getLine
The line containing the specified position in the document.
- Returns:
- The line containing the specified position in the document.
-
withLine
The line containing the specified position in the document.
- Parameters:
line
- The line containing the specified position in the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setColumn
The column in the line containing the specified position in the document.
- Parameters:
column
- The column in the line containing the specified position in the document.
-
getColumn
The column in the line containing the specified position in the document.
- Returns:
- The column in the line containing the specified position in the document.
-
withColumn
The column in the line containing the specified position in the document.
- Parameters:
column
- The column in the line containing the specified position in the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-