Interface OwnerProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OwnerProperties.Builder,OwnerProperties>,SdkBuilder<OwnerProperties.Builder,OwnerProperties>,SdkPojo
- Enclosing class:
- OwnerProperties
public static interface OwnerProperties.Builder extends SdkPojo, CopyableBuilder<OwnerProperties.Builder,OwnerProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OwnerProperties.Buildergroup(Consumer<OwnerGroupProperties.Builder> group)Specifies that the domain unit owner is a group.OwnerProperties.Buildergroup(OwnerGroupProperties group)Specifies that the domain unit owner is a group.default OwnerProperties.Builderuser(Consumer<OwnerUserProperties.Builder> user)Specifies that the domain unit owner is a user.OwnerProperties.Builderuser(OwnerUserProperties 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
OwnerProperties.Builder group(OwnerGroupProperties 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 OwnerProperties.Builder group(Consumer<OwnerGroupProperties.Builder> group)
Specifies that the domain unit owner is a group.
This is a convenience method that creates an instance of theOwnerGroupProperties.Builderavoiding the need to create one manually viaOwnerGroupProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroup(OwnerGroupProperties).- Parameters:
group- a consumer that will call methods onOwnerGroupProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
group(OwnerGroupProperties)
-
user
OwnerProperties.Builder user(OwnerUserProperties 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 OwnerProperties.Builder user(Consumer<OwnerUserProperties.Builder> user)
Specifies that the domain unit owner is a user.
This is a convenience method that creates an instance of theOwnerUserProperties.Builderavoiding the need to create one manually viaOwnerUserProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(OwnerUserProperties).- Parameters:
user- a consumer that will call methods onOwnerUserProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
user(OwnerUserProperties)
-
-