Class Range
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.Range
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Range.Builder,Range>
@Generated("software.amazon.awssdk:codegen") public final class Range extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Range.Builder,Range>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Range.Builderbuilder()Longend()The number of lines from the beginning of the file to the end of the sensitive data.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Range.Builder>serializableBuilderClass()Longstart()The number of lines from the beginning of the file to the beginning of the sensitive data.LongstartColumn()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.Range.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
end
public final Long end()
The number of lines from the beginning of the file to the end of the sensitive data.
- Returns:
- The number of lines from the beginning of the file to the end of the sensitive data.
-
start
public final Long start()
The number of lines from the beginning of the file to the beginning of the sensitive data.
- Returns:
- The number of lines from the beginning of the file to the beginning of the sensitive data.
-
startColumn
public final 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.
- Returns:
- 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.
-
toBuilder
public Range.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Range.Builder,Range>
-
builder
public static Range.Builder builder()
-
serializableBuilderClass
public static Class<? extends Range.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-