if (context.testExpression("UserPoolId", targetDepth)) { context.nextToken(); domainDescriptionTypeBuilder.userPoolId(context.getUnmarshaller(String.class).unmarshall(context)); domainDescriptionTypeBuilder.awsAccountId(context.getUnmarshaller(String.class).unmarshall(context)); domainDescriptionTypeBuilder.domain(context.getUnmarshaller(String.class).unmarshall(context)); domainDescriptionTypeBuilder.s3Bucket(context.getUnmarshaller(String.class).unmarshall(context)); .cloudFrontDistribution(context.getUnmarshaller(String.class).unmarshall(context)); domainDescriptionTypeBuilder.version(context.getUnmarshaller(String.class).unmarshall(context)); domainDescriptionTypeBuilder.status(context.getUnmarshaller(String.class).unmarshall(context)); return domainDescriptionTypeBuilder.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()); } }
/** * Sets the value of the CustomDomainConfig property for this object. * * This is a convenience that creates an instance of the {@link CustomDomainConfigType.Builder} avoiding the * need to create one manually via {@link CustomDomainConfigType#builder()}. * * When the {@link Consumer} completes, {@link CustomDomainConfigType.Builder#build()} is called immediately and * its result is passed to {@link #customDomainConfig(CustomDomainConfigType)}. * * @param customDomainConfig * a consumer that will call methods on {@link CustomDomainConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #customDomainConfig(CustomDomainConfigType) */ default Builder customDomainConfig(Consumer<CustomDomainConfigType.Builder> customDomainConfig) { return customDomainConfig(CustomDomainConfigType.builder().applyMutation(customDomainConfig).build()); } }