Class PrincipalGroup
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.PrincipalGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PrincipalGroup.Builder,PrincipalGroup>
@Generated("software.amazon.awssdk:codegen") public final class PrincipalGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PrincipalGroup.Builder,PrincipalGroup>
Provides information about a group associated with the principal.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePrincipalGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadAccessTypeaccess()Provides information about whether to allow or deny access to the principal.StringaccessAsString()Provides information about whether to allow or deny access to the principal.static PrincipalGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MembershipTypemembershipType()The type of group.StringmembershipTypeAsString()The type of group.Stringname()The name of the group.List<SdkField<?>>sdkFields()static Class<? extends PrincipalGroup.Builder>serializableBuilderClass()PrincipalGroup.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
-
access
public final ReadAccessType access()
Provides information about whether to allow or deny access to the principal.
If the service returns an enum value that is not available in the current SDK version,
accesswill returnReadAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessAsString().- Returns:
- Provides information about whether to allow or deny access to the principal.
- See Also:
ReadAccessType
-
accessAsString
public final String accessAsString()
Provides information about whether to allow or deny access to the principal.
If the service returns an enum value that is not available in the current SDK version,
accesswill returnReadAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessAsString().- Returns:
- Provides information about whether to allow or deny access to the principal.
- See Also:
ReadAccessType
-
membershipType
public final MembershipType membershipType()
The type of group.
If the service returns an enum value that is not available in the current SDK version,
membershipTypewill returnMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommembershipTypeAsString().- Returns:
- The type of group.
- See Also:
MembershipType
-
membershipTypeAsString
public final String membershipTypeAsString()
The type of group.
If the service returns an enum value that is not available in the current SDK version,
membershipTypewill returnMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommembershipTypeAsString().- Returns:
- The type of group.
- See Also:
MembershipType
-
name
public final String name()
The name of the group.
- Returns:
- The name of the group.
-
toBuilder
public PrincipalGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PrincipalGroup.Builder,PrincipalGroup>
-
builder
public static PrincipalGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends PrincipalGroup.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.
-
-