Interface ListDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> SageMakerResponse.Builder,SdkBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDomainsResponse
@Mutable
@NotThreadSafe
public static interface ListDomainsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListDomainsResponse.Builder,ListDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomains(Collection<DomainDetails> domains) The list of domains.domains(Consumer<DomainDetails.Builder>... domains) The list of domains.domains(DomainDetails... domains) The list of domains.If the previous response was truncated, you will receive this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
domains
The list of domains.
- Parameters:
domains- The list of domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
The list of domains.
- Parameters:
domains- The list of domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
The list of domains.
This is a convenience method that creates an instance of theDomainDetails.Builderavoiding the need to create one manually viaDomainDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomains(List<DomainDetails>).- Parameters:
domains- a consumer that will call methods onDomainDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
- Parameters:
nextToken- If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-