001package com.box.sdkgen.box.developertokenauth; 002 003public class DeveloperTokenConfig { 004 005 public String clientId; 006 007 public String clientSecret; 008 009 public DeveloperTokenConfig() {} 010 011 protected DeveloperTokenConfig(Builder builder) { 012 this.clientId = builder.clientId; 013 this.clientSecret = builder.clientSecret; 014 } 015 016 public String getClientId() { 017 return clientId; 018 } 019 020 public String getClientSecret() { 021 return clientSecret; 022 } 023 024 public static class Builder { 025 026 protected String clientId; 027 028 protected String clientSecret; 029 030 public Builder clientId(String clientId) { 031 this.clientId = clientId; 032 return this; 033 } 034 035 public Builder clientSecret(String clientSecret) { 036 this.clientSecret = clientSecret; 037 return this; 038 } 039 040 public DeveloperTokenConfig build() { 041 return new DeveloperTokenConfig(this); 042 } 043 } 044}