Class OwnerPropertiesOutput
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.OwnerPropertiesOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OwnerPropertiesOutput.Builder,OwnerPropertiesOutput>
@Generated("software.amazon.awssdk:codegen") public final class OwnerPropertiesOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OwnerPropertiesOutput.Builder,OwnerPropertiesOutput>
The ID of the domain unit owners group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOwnerPropertiesOutput.Builderstatic classOwnerPropertiesOutput.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OwnerPropertiesOutput.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static OwnerPropertiesOutputfromGroup(Consumer<OwnerGroupPropertiesOutput.Builder> group)Create an instance of this class withgroup()initialized to the given value.static OwnerPropertiesOutputfromGroup(OwnerGroupPropertiesOutput group)Create an instance of this class withgroup()initialized to the given value.static OwnerPropertiesOutputfromUser(Consumer<OwnerUserPropertiesOutput.Builder> user)Create an instance of this class withuser()initialized to the given value.static OwnerPropertiesOutputfromUser(OwnerUserPropertiesOutput user)Create an instance of this class withuser()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)OwnerGroupPropertiesOutputgroup()Specifies that the domain unit owner is a group.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends OwnerPropertiesOutput.Builder>serializableBuilderClass()OwnerPropertiesOutput.BuildertoBuilder()StringtoString()Returns a string representation of this object.OwnerPropertiesOutput.Typetype()Retrieve an enum value representing which member of this object is populated.OwnerUserPropertiesOutputuser()Specifies that the domain unit owner is a user.-
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
-
group
public final OwnerGroupPropertiesOutput group()
Specifies that the domain unit owner is a group.
- Returns:
- Specifies that the domain unit owner is a group.
-
user
public final OwnerUserPropertiesOutput user()
Specifies that the domain unit owner is a user.
- Returns:
- Specifies that the domain unit owner is a user.
-
toBuilder
public OwnerPropertiesOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OwnerPropertiesOutput.Builder,OwnerPropertiesOutput>
-
builder
public static OwnerPropertiesOutput.Builder builder()
-
serializableBuilderClass
public static Class<? extends OwnerPropertiesOutput.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.
-
fromGroup
public static OwnerPropertiesOutput fromGroup(OwnerGroupPropertiesOutput group)
Create an instance of this class withgroup()initialized to the given value.Specifies that the domain unit owner is a group.
- Parameters:
group- Specifies that the domain unit owner is a group.
-
fromGroup
public static OwnerPropertiesOutput fromGroup(Consumer<OwnerGroupPropertiesOutput.Builder> group)
Create an instance of this class withgroup()initialized to the given value.Specifies that the domain unit owner is a group.
- Parameters:
group- Specifies that the domain unit owner is a group.
-
fromUser
public static OwnerPropertiesOutput fromUser(OwnerUserPropertiesOutput user)
Create an instance of this class withuser()initialized to the given value.Specifies that the domain unit owner is a user.
- Parameters:
user- Specifies that the domain unit owner is a user.
-
fromUser
public static OwnerPropertiesOutput fromUser(Consumer<OwnerUserPropertiesOutput.Builder> user)
Create an instance of this class withuser()initialized to the given value.Specifies that the domain unit owner is a user.
- Parameters:
user- Specifies that the domain unit owner is a user.
-
type
public OwnerPropertiesOutput.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 beOwnerPropertiesOutput.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 beOwnerPropertiesOutput.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-