Interface DescribeDomainResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<DescribeDomainResponse.Builder,DescribeDomainResponse>,SdkBuilder<DescribeDomainResponse.Builder,DescribeDomainResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeDomainResponse
public static interface DescribeDomainResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<DescribeDomainResponse.Builder,DescribeDomainResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeDomainResponse.Builderdomain(Consumer<DomainDescription.Builder> domain)Sets the value of the Domain property for this object.DescribeDomainResponse.Builderdomain(DomainDescription domain)Sets the value of the Domain property for this object.-
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 Detail
-
domain
DescribeDomainResponse.Builder domain(DomainDescription domain)
Sets the value of the Domain property for this object.- Parameters:
domain- The new value for the Domain property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
default DescribeDomainResponse.Builder domain(Consumer<DomainDescription.Builder> domain)
Sets the value of the Domain property for this object. 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:
domain(DomainDescription)
-
-