Interface CreateDomainUnitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDomainUnitResponse.Builder,
,CreateDomainUnitResponse> DataZoneResponse.Builder
,SdkBuilder<CreateDomainUnitResponse.Builder,
,CreateDomainUnitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDomainUnitResponse
@Mutable
@NotThreadSafe
public static interface CreateDomainUnitResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateDomainUnitResponse.Builder,CreateDomainUnitResponse>
-
Method Summary
Modifier and TypeMethodDescriptionancestorDomainUnitIds
(String... ancestorDomainUnitIds) The IDs of the ancestor domain units.ancestorDomainUnitIds
(Collection<String> ancestorDomainUnitIds) The IDs of the ancestor domain units.The timestamp at which the domain unit was created.The user who created the domain unit.description
(String description) The description of the domain unit.The ID of the domain where the domain unit was created.The ID of the domain unit.The name of the domain unit.owners
(Collection<DomainUnitOwnerProperties> owners) The owners of the domain unit.owners
(Consumer<DomainUnitOwnerProperties.Builder>... owners) The owners of the domain unit.owners
(DomainUnitOwnerProperties... owners) The owners of the domain unit.parentDomainUnitId
(String parentDomainUnitId) The ID of the parent domain unit.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ancestorDomainUnitIds
The IDs of the ancestor domain units.
- Parameters:
ancestorDomainUnitIds
- The IDs of the ancestor domain units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ancestorDomainUnitIds
The IDs of the ancestor domain units.
- Parameters:
ancestorDomainUnitIds
- The IDs of the ancestor domain units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp at which the domain unit was created.
- Parameters:
createdAt
- The timestamp at which the domain unit was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user who created the domain unit.
- Parameters:
createdBy
- The user who created the domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the domain unit.
- Parameters:
description
- The description of the domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The ID of the domain where the domain unit was created.
- Parameters:
domainId
- The ID of the domain where the domain unit was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the domain unit.
- Parameters:
id
- The ID of the domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the domain unit.
- Parameters:
name
- The name of the domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owners
The owners of the domain unit.
- Parameters:
owners
- The owners of the domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owners
The owners of the domain unit.
- Parameters:
owners
- The owners of the domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owners
The owners of the domain unit.
This is a convenience method that creates an instance of theDomainUnitOwnerProperties.Builder
avoiding the need to create one manually viaDomainUnitOwnerProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toowners(List<DomainUnitOwnerProperties>)
.- Parameters:
owners
- a consumer that will call methods onDomainUnitOwnerProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parentDomainUnitId
The ID of the parent domain unit.
- Parameters:
parentDomainUnitId
- The ID of the parent domain unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-