Interface GetDomainUnitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDomainUnitResponse.Builder,
,GetDomainUnitResponse> DataZoneResponse.Builder
,SdkBuilder<GetDomainUnitResponse.Builder,
,GetDomainUnitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDomainUnitResponse
@Mutable
@NotThreadSafe
public static interface GetDomainUnitResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetDomainUnitResponse.Builder,GetDomainUnitResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe time stamp 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 in which the domain unit lives.The ID of the domain unit.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp at which the domain unit was last updated.lastUpdatedBy
(String lastUpdatedBy) The user who last updated 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
-
createdAt
The time stamp at which the domain unit was created.
- Parameters:
createdAt
- The time stamp 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 in which the domain unit lives.
- Parameters:
domainId
- The ID of the domain in which the domain unit lives.- 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.
-
lastUpdatedAt
The timestamp at which the domain unit was last updated.
- Parameters:
lastUpdatedAt
- The timestamp at which the domain unit was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedBy
The user who last updated the domain unit.
- Parameters:
lastUpdatedBy
- The user who last updated 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.
-