Class Delegate
- java.lang.Object
-
- software.amazon.awssdk.services.workmail.model.Delegate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Delegate.Builder,Delegate>
@Generated("software.amazon.awssdk:codegen") public final class Delegate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Delegate.Builder,Delegate>
The name of the attribute, which is one of the values defined in the UserAttribute enumeration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDelegate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Delegate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier for the user or group associated as the resource's delegate.List<SdkField<?>>sdkFields()static Class<? extends Delegate.Builder>serializableBuilderClass()Delegate.BuildertoBuilder()StringtoString()Returns a string representation of this object.MemberTypetype()The type of the delegate: user or group.StringtypeAsString()The type of the delegate: user or group.-
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
-
id
public final String id()
The identifier for the user or group associated as the resource's delegate.
- Returns:
- The identifier for the user or group associated as the resource's delegate.
-
type
public final MemberType type()
The type of the delegate: user or group.
If the service returns an enum value that is not available in the current SDK version,
typewill returnMemberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the delegate: user or group.
- See Also:
MemberType
-
typeAsString
public final String typeAsString()
The type of the delegate: user or group.
If the service returns an enum value that is not available in the current SDK version,
typewill returnMemberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the delegate: user or group.
- See Also:
MemberType
-
toBuilder
public Delegate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Delegate.Builder,Delegate>
-
builder
public static Delegate.Builder builder()
-
serializableBuilderClass
public static Class<? extends Delegate.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.
-
-