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

com.spotinst.sdkjava.model.requests.admin.account.ListAllAccountsRequest Maven / Gradle / Ivy

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

public class ListAllAccountsRequest {
    private String cloudAccountId;

    private ListAllAccountsRequest() {
    }

    //Getters & Setters
    public String getCloudAccountId() {
        return cloudAccountId;
    }

    public void setCloudAccountId(String cloudAccountId) {
        this.cloudAccountId = cloudAccountId;
    }

    //Builder class
    public static class Builder {

        private ListAllAccountsRequest listAllAccountsRequest;

        private Builder() {
            this.listAllAccountsRequest = new ListAllAccountsRequest();
        }

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

        public ListAllAccountsRequest.Builder setCloudAccountId(final String cloudAccountId) {
            listAllAccountsRequest.setCloudAccountId(cloudAccountId);
            return this;
        }

        public ListAllAccountsRequest build() {
            return listAllAccountsRequest;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy