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

com.spotinst.sdkjava.model.SubscriptionGetRequest Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.model;

/**
 * Created by talzur on 18/01/2017.
 */
public class SubscriptionGetRequest {
    //region Members
    private String subscriptionId;
    //endregion

    //region Private Constructor
    private SubscriptionGetRequest() {
    }
    //endregion

    //region Getter and Setter methods

    public String getSubscriptionId() {
        return subscriptionId;
    }

    public void setSubscriptionId(String subscriptionId) {
        this.subscriptionId = subscriptionId;
    }

    //endregion

    //region Builder class
    public static class Builder {
        private SubscriptionGetRequest subscriptionGetRequest;

        private Builder() {
            this.subscriptionGetRequest = new SubscriptionGetRequest();
        }

        public static SubscriptionGetRequest.Builder get() {
            return new Builder();
        }

        public SubscriptionGetRequest.Builder setSubscriptionId(final String subscriptionId) {
            subscriptionGetRequest.setSubscriptionId(subscriptionId);
            return this;
        }

        public SubscriptionGetRequest build() {
            // TODO : Validations
            return subscriptionGetRequest;
        }

    }
    //endregion

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy