.create(CreatePrivateDomainRequest.builder()
.name(domain)
.owningOrganizationId(organizationId)
.build());
}
<BUG>private static Mono<CreateSharedDomainResponse> requestCreateSharedDomain(CloudFoundryClient cloudFoundryClient, String domain) {
</BUG>
return cloudFoundryClient.sharedDomains()
.create(org.cloudfoundry.client.v2.shareddomains.CreateSharedDomainRequest.builder()
<BUG>.name(domain)
.build());</BUG>
}

.create(CreatePrivateDomainRequest.builder()
.name(domain)
.owningOrganizationId(organizationId)
.build());
}
private static Mono<CreateSharedDomainResponse> requestCreateSharedDomain(CloudFoundryClient cloudFoundryClient, String domain, String routerGroupId) {
return cloudFoundryClient.sharedDomains()
.create(org.cloudfoundry.client.v2.shareddomains.CreateSharedDomainRequest.builder()
.name(domain)
.routerGroupId(routerGroupId)
.build());
}
