Interface CreateDomainForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<CreateDomainForOrganizationResponse.Builder,,CreateDomainForOrganizationResponse> SdkBuilder<CreateDomainForOrganizationResponse.Builder,,CreateDomainForOrganizationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDomainForOrganizationResponse
@Mutable
@NotThreadSafe
public static interface CreateDomainForOrganizationResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<CreateDomainForOrganizationResponse.Builder,CreateDomainForOrganizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionorganizationDomain(Consumer<OrganizationDomain.Builder> organizationDomain) The details of the created organization domain.organizationDomain(OrganizationDomain organizationDomain) The details of the created organization domain.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
organizationDomain
CreateDomainForOrganizationResponse.Builder organizationDomain(OrganizationDomain organizationDomain) The details of the created organization domain.
- Parameters:
organizationDomain- The details of the created organization domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationDomain
default CreateDomainForOrganizationResponse.Builder organizationDomain(Consumer<OrganizationDomain.Builder> organizationDomain) The details of the created organization domain.
This is a convenience method that creates an instance of theOrganizationDomain.Builderavoiding the need to create one manually viaOrganizationDomain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganizationDomain(OrganizationDomain).- Parameters:
organizationDomain- a consumer that will call methods onOrganizationDomain.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-