Interface CreateDomainUnitResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDomainUnitResponse.Builder,CreateDomainUnitResponse>,DataZoneResponse.Builder,SdkBuilder<CreateDomainUnitResponse.Builder,CreateDomainUnitResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDomainUnitResponse
public static interface CreateDomainUnitResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateDomainUnitResponse.Builder,CreateDomainUnitResponse>
-
-
Method Summary
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ancestorDomainUnitIds
CreateDomainUnitResponse.Builder ancestorDomainUnitIds(Collection<String> 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
CreateDomainUnitResponse.Builder ancestorDomainUnitIds(String... 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
CreateDomainUnitResponse.Builder createdAt(Instant 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
CreateDomainUnitResponse.Builder createdBy(String 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
CreateDomainUnitResponse.Builder description(String 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
CreateDomainUnitResponse.Builder domainId(String 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
CreateDomainUnitResponse.Builder id(String 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
CreateDomainUnitResponse.Builder name(String 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
CreateDomainUnitResponse.Builder owners(Collection<DomainUnitOwnerProperties> 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
CreateDomainUnitResponse.Builder owners(DomainUnitOwnerProperties... 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
CreateDomainUnitResponse.Builder owners(Consumer<DomainUnitOwnerProperties.Builder>... owners)
The owners of the domain unit.
This is a convenience method that creates an instance of theDomainUnitOwnerProperties.Builderavoiding the need to create one manually viaDomainUnitOwnerProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#owners(List.) - 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:
#owners(java.util.Collection)
-
parentDomainUnitId
CreateDomainUnitResponse.Builder parentDomainUnitId(String 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.
-
-