@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Range extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the location of an occurrence of sensitive data in an email message or a non-binary text file such as an HTML, TXT, or XML file.
Constructor and Description |
---|
Range() |
Modifier and Type | Method and Description |
---|---|
Range |
clone() |
boolean |
equals(Object obj) |
Long |
getEnd()
The number of lines from the beginning of the file to the end of the sensitive data.
|
Long |
getStart()
The number of lines from the beginning of the file to the beginning of the sensitive data.
|
Long |
getStartColumn()
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the
sensitive data (start) to the beginning of the sensitive data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnd(Long end)
The number of lines from the beginning of the file to the end of the sensitive data.
|
void |
setStart(Long start)
The number of lines from the beginning of the file to the beginning of the sensitive data.
|
void |
setStartColumn(Long startColumn)
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the
sensitive data (start) to the beginning of the sensitive data.
|
String |
toString()
Returns a string representation of this object.
|
Range |
withEnd(Long end)
The number of lines from the beginning of the file to the end of the sensitive data.
|
Range |
withStart(Long start)
The number of lines from the beginning of the file to the beginning of the sensitive data.
|
Range |
withStartColumn(Long startColumn)
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the
sensitive data (start) to the beginning of the sensitive data.
|
public void setEnd(Long end)
The number of lines from the beginning of the file to the end of the sensitive data.
end
- The number of lines from the beginning of the file to the end of the sensitive data.public Long getEnd()
The number of lines from the beginning of the file to the end of the sensitive data.
public Range withEnd(Long end)
The number of lines from the beginning of the file to the end of the sensitive data.
end
- The number of lines from the beginning of the file to the end of the sensitive data.public void setStart(Long start)
The number of lines from the beginning of the file to the beginning of the sensitive data.
start
- The number of lines from the beginning of the file to the beginning of the sensitive data.public Long getStart()
The number of lines from the beginning of the file to the beginning of the sensitive data.
public Range withStart(Long start)
The number of lines from the beginning of the file to the beginning of the sensitive data.
start
- The number of lines from the beginning of the file to the beginning of the sensitive data.public void setStartColumn(Long startColumn)
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.
startColumn
- The number of characters, with spaces and starting from 1, from the beginning of the first line that
contains the sensitive data (start) to the beginning of the sensitive data.public Long getStartColumn()
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.
public Range withStartColumn(Long startColumn)
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.
startColumn
- The number of characters, with spaces and starting from 1, from the beginning of the first line that
contains the sensitive data (start) to the beginning of the sensitive data.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.