Interface ListDomainUnitsForParentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDomainUnitsForParentResponse.Builder,,ListDomainUnitsForParentResponse> DataZoneResponse.Builder,SdkBuilder<ListDomainUnitsForParentResponse.Builder,,ListDomainUnitsForParentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDomainUnitsForParentResponse
@Mutable
@NotThreadSafe
public static interface ListDomainUnitsForParentResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListDomainUnitsForParentResponse.Builder,ListDomainUnitsForParentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<DomainUnitSummary> items) The results returned by this action.items(Consumer<DomainUnitSummary.Builder>... items) The results returned by this action.items(DomainUnitSummary... items) The results returned by this action.When the number of domain units is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of domain units, the response includes a pagination token named NextToken.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The results returned by this action.
- Parameters:
items- The results returned by this action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results returned by this action.
- Parameters:
items- The results returned by this action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results returned by this action.
This is a convenience method that creates an instance of theDomainUnitSummary.Builderavoiding the need to create one manually viaDomainUnitSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<DomainUnitSummary>).- Parameters:
items- a consumer that will call methods onDomainUnitSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When the number of domain units is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of domain units, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDomainUnitsForParent to list the next set of domain units.
- Parameters:
nextToken- When the number of domain units is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of domain units, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDomainUnitsForParent to list the next set of domain units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-