Interface CreateDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<CreateDomainResponse.Builder,
,CreateDomainResponse> SdkBuilder<CreateDomainResponse.Builder,
,CreateDomainResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDomainResponse
public static interface CreateDomainResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<CreateDomainResponse.Builder,CreateDomainResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateDomainResponse.Builder
domain
(Consumer<DomainDescription.Builder> domain) Contains information about the created domain after processing the request.domain
(DomainDescription domain) Contains information about the created domain after processing the request.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
domain
Contains information about the created domain after processing the request.
- Parameters:
domain
- Contains information about the created domain after processing the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
Contains information about the created domain after processing the request.
This is a convenience method that creates an instance of theDomainDescription.Builder
avoiding the need to create one manually viaDomainDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomain(DomainDescription)
.- Parameters:
domain
- a consumer that will call methods onDomainDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-