Class LakeFormationScopeUnion
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.LakeFormationScopeUnion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LakeFormationScopeUnion.Builder,LakeFormationScopeUnion>
@Generated("software.amazon.awssdk:codegen") public final class LakeFormationScopeUnion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LakeFormationScopeUnion.Builder,LakeFormationScopeUnion>
A list of scopes set up for Lake Formation integration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLakeFormationScopeUnion.Builderstatic classLakeFormationScopeUnion.Type
-
Method Summary
-
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
-
lakeFormationQuery
public final LakeFormationQuery lakeFormationQuery()
The Lake Formation scope.
- Returns:
- The Lake Formation scope.
-
toBuilder
public LakeFormationScopeUnion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LakeFormationScopeUnion.Builder,LakeFormationScopeUnion>
-
builder
public static LakeFormationScopeUnion.Builder builder()
-
serializableBuilderClass
public static Class<? extends LakeFormationScopeUnion.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.
-
fromLakeFormationQuery
public static LakeFormationScopeUnion fromLakeFormationQuery(LakeFormationQuery lakeFormationQuery)
Create an instance of this class withlakeFormationQuery()initialized to the given value.The Lake Formation scope.
- Parameters:
lakeFormationQuery- The Lake Formation scope.
-
fromLakeFormationQuery
public static LakeFormationScopeUnion fromLakeFormationQuery(Consumer<LakeFormationQuery.Builder> lakeFormationQuery)
Create an instance of this class withlakeFormationQuery()initialized to the given value.The Lake Formation scope.
- Parameters:
lakeFormationQuery- The Lake Formation scope.
-
type
public LakeFormationScopeUnion.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beLakeFormationScopeUnion.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beLakeFormationScopeUnion.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-