Class S3AccessGrantsScopeUnion
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.S3AccessGrantsScopeUnion
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<S3AccessGrantsScopeUnion.Builder,S3AccessGrantsScopeUnion>
@Generated("software.amazon.awssdk:codegen") public final class S3AccessGrantsScopeUnion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3AccessGrantsScopeUnion.Builder,S3AccessGrantsScopeUnion>
A list of scopes set up for S3 Access Grants integration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
S3AccessGrantsScopeUnion.Builder
static class
S3AccessGrantsScopeUnion.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
-
readWriteAccess
public final ReadWriteAccess readWriteAccess()
The S3 Access Grants scope.
- Returns:
- The S3 Access Grants scope.
-
toBuilder
public S3AccessGrantsScopeUnion.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3AccessGrantsScopeUnion.Builder,S3AccessGrantsScopeUnion>
-
builder
public static S3AccessGrantsScopeUnion.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3AccessGrantsScopeUnion.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
fromReadWriteAccess
public static S3AccessGrantsScopeUnion fromReadWriteAccess(ReadWriteAccess readWriteAccess)
Create an instance of this class withreadWriteAccess()
initialized to the given value.The S3 Access Grants scope.
- Parameters:
readWriteAccess
- The S3 Access Grants scope.
-
fromReadWriteAccess
public static S3AccessGrantsScopeUnion fromReadWriteAccess(Consumer<ReadWriteAccess.Builder> readWriteAccess)
Create an instance of this class withreadWriteAccess()
initialized to the given value.The S3 Access Grants scope.
- Parameters:
readWriteAccess
- The S3 Access Grants scope.
-
type
public S3AccessGrantsScopeUnion.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 beS3AccessGrantsScopeUnion.Type.UNKNOWN_TO_SDK_VERSION
if 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 beS3AccessGrantsScopeUnion.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-