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.Builderdomain(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDomainDescription.builder().When the
Consumercompletes,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:
-