Interface OwnerPropertiesOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OwnerPropertiesOutput.Builder,OwnerPropertiesOutput>,SdkBuilder<OwnerPropertiesOutput.Builder,OwnerPropertiesOutput>,SdkPojo
- Enclosing class:
- OwnerPropertiesOutput
public static interface OwnerPropertiesOutput.Builder extends SdkPojo, CopyableBuilder<OwnerPropertiesOutput.Builder,OwnerPropertiesOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OwnerPropertiesOutput.Buildergroup(Consumer<OwnerGroupPropertiesOutput.Builder> group)Specifies that the domain unit owner is a group.OwnerPropertiesOutput.Buildergroup(OwnerGroupPropertiesOutput group)Specifies that the domain unit owner is a group.default OwnerPropertiesOutput.Builderuser(Consumer<OwnerUserPropertiesOutput.Builder> user)Specifies that the domain unit owner is a user.OwnerPropertiesOutput.Builderuser(OwnerUserPropertiesOutput user)Specifies that the domain unit owner is a user.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
group
OwnerPropertiesOutput.Builder group(OwnerGroupPropertiesOutput group)
Specifies that the domain unit owner is a group.
- Parameters:
group- Specifies that the domain unit owner is a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
default OwnerPropertiesOutput.Builder group(Consumer<OwnerGroupPropertiesOutput.Builder> group)
Specifies that the domain unit owner is a group.
This is a convenience method that creates an instance of theOwnerGroupPropertiesOutput.Builderavoiding the need to create one manually viaOwnerGroupPropertiesOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroup(OwnerGroupPropertiesOutput).- Parameters:
group- a consumer that will call methods onOwnerGroupPropertiesOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
group(OwnerGroupPropertiesOutput)
-
user
OwnerPropertiesOutput.Builder user(OwnerUserPropertiesOutput user)
Specifies that the domain unit owner is a user.
- Parameters:
user- Specifies that the domain unit owner is a user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
default OwnerPropertiesOutput.Builder user(Consumer<OwnerUserPropertiesOutput.Builder> user)
Specifies that the domain unit owner is a user.
This is a convenience method that creates an instance of theOwnerUserPropertiesOutput.Builderavoiding the need to create one manually viaOwnerUserPropertiesOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(OwnerUserPropertiesOutput).- Parameters:
user- a consumer that will call methods onOwnerUserPropertiesOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
user(OwnerUserPropertiesOutput)
-
-