All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.customergroups.CustomerGroupDraftBuilder Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
/*
This class has been generated by class io.sphere.sdk.annotations.processors.ResourceDraftValueAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.ResourceDraftValue.
in the source class io.sphere.sdk.customergroups.CustomerGroupDraft.

*/
package io.sphere.sdk.customergroups;

import javax.annotation.Nullable;
import io.sphere.sdk.models.*;
import java.util.*;
import io.sphere.sdk.utils.*;
import com.fasterxml.jackson.annotation.*;
import io.sphere.sdk.models.Builder;
import com.fasterxml.jackson.annotation.JsonCreator;
/** Builder for {@link CustomerGroupDraft}. */

public final class CustomerGroupDraftBuilder extends io.sphere.sdk.models.Base implements Builder {
    private java.lang.String groupName;

    @JsonCreator()
    CustomerGroupDraftBuilder(final java.lang.String groupName) {
        
        this.groupName = groupName;
        
}
    
    
    public CustomerGroupDraftBuilder groupName(final java.lang.String groupName) {
        this.groupName = groupName;
return this;
}
    
    public CustomerGroupDraftDsl build() {
        return new CustomerGroupDraftDsl(groupName);
}
    
    public static CustomerGroupDraftBuilder of(final java.lang.String groupName) {
        return new CustomerGroupDraftBuilder(groupName);
}
    
    public static CustomerGroupDraftBuilder of(final CustomerGroupDraft template) {
        return new CustomerGroupDraftBuilder(template.getGroupName());
}
    
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy