Class Substring
- java.lang.Object
-
- software.amazon.awssdk.services.accessanalyzer.model.Substring
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Substring.Builder,Substring>
@Generated("software.amazon.awssdk:codegen") public final class Substring extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Substring.Builder,Substring>
A reference to a substring of a literal string in a JSON document.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSubstring.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Substring.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlength()The length of the substring.List<SdkField<?>>sdkFields()static Class<? extends Substring.Builder>serializableBuilderClass()Integerstart()The start index of the substring, starting from 0.Substring.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
-
start
public final Integer start()
The start index of the substring, starting from 0.
- Returns:
- The start index of the substring, starting from 0.
-
length
public final Integer length()
The length of the substring.
- Returns:
- The length of the substring.
-
toBuilder
public Substring.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Substring.Builder,Substring>
-
builder
public static Substring.Builder builder()
-
serializableBuilderClass
public static Class<? extends Substring.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.
-
-