token = context.nextToken(); if (token == VALUE_NULL) { return describeUserPoolDomainResponseBuilder.build(); if (context.testExpression("DomainDescription", targetDepth)) { context.nextToken(); describeUserPoolDomainResponseBuilder.domainDescription(DomainDescriptionTypeUnmarshaller.getInstance() .unmarshall(context)); return describeUserPoolDomainResponseBuilder.build();
/** * <p> * A domain description object containing information about the domain. * </p> * This is a convenience that creates an instance of the {@link DomainDescriptionType.Builder} avoiding the need * to create one manually via {@link DomainDescriptionType#builder()}. * * When the {@link Consumer} completes, {@link DomainDescriptionType.Builder#build()} is called immediately and * its result is passed to {@link #domainDescription(DomainDescriptionType)}. * * @param domainDescription * a consumer that will call methods on {@link DomainDescriptionType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #domainDescription(DomainDescriptionType) */ default Builder domainDescription(Consumer<DomainDescriptionType.Builder> domainDescription) { return domainDescription(DomainDescriptionType.builder().applyMutation(domainDescription).build()); } }
/** * <p> * A domain description object containing information about the domain. * </p> * This is a convenience that creates an instance of the {@link DomainDescriptionType.Builder} avoiding the need * to create one manually via {@link DomainDescriptionType#builder()}. * * When the {@link Consumer} completes, {@link DomainDescriptionType.Builder#build()} is called immediately and * its result is passed to {@link #domainDescription(DomainDescriptionType)}. * * @param domainDescription * a consumer that will call methods on {@link DomainDescriptionType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #domainDescription(DomainDescriptionType) */ default Builder domainDescription(Consumer<DomainDescriptionType.Builder> domainDescription) { return domainDescription(DomainDescriptionType.builder().applyMutation(domainDescription).build()); } }