Interface ImmutableTableSchemaParams.Builder<T>
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImmutableTableSchemaParams.Builder<T>,ImmutableTableSchemaParams<T>>,SdkBuilder<ImmutableTableSchemaParams.Builder<T>,ImmutableTableSchemaParams<T>>
- Enclosing class:
- ImmutableTableSchemaParams<T>
public static interface ImmutableTableSchemaParams.Builder<T> extends CopyableBuilder<ImmutableTableSchemaParams.Builder<T>,ImmutableTableSchemaParams<T>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableTableSchemaParams.Builder<T>immutableClass(Class<T> immutableClass)Set the class of the immutable item.ImmutableTableSchemaParams.Builder<T>lookup(MethodHandles.Lookup lookup)Set theMethodHandles.Lookupthat will be used for reflection and unreflection purposes on the provided item class, including security and access checking.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
-
-
-
Method Detail
-
immutableClass
ImmutableTableSchemaParams.Builder<T> immutableClass(Class<T> immutableClass)
Set the class of the immutable item.- Returns:
- This builder for method chaining.
-
lookup
ImmutableTableSchemaParams.Builder<T> lookup(MethodHandles.Lookup lookup)
Set theMethodHandles.Lookupthat will be used for reflection and unreflection purposes on the provided item class, including security and access checking. A lookup object is created by callingMethodHandles.lookup(). Note that this method is caller-sensitive, which means that the return value oflookup()relies on the class that invoked it. When providing a custom lookup object, you should ensure that the lookup is created from a class that belongs to your application to ensure it has the correct access to the item.In practical terms, calling
MethodHandles.lookup()when creating thisReflectiveSchemaParamsis normally sufficient:- Returns:
- This builder for method chaining.
-
-