/*- * #%L * hms-service-api * %% * Copyright (C) 2019 Amazon Web Services * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ package com.amazonaws.athena.hms; public class ListTablesRequest extends ApiRequest { private String dbName; private String filter; private String nextToken; // default value "-1" means unlimited private short maxSize = -1; public String getDbName() { return dbName; } public void setDbName(String dbName) { this.dbName = dbName; } public String getFilter() { return filter; } public void setFilter(String filter) { this.filter = filter; } public String getNextToken() { return nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public short getMaxSize() { return maxSize; } public void setMaxSize(short maxSize) { this.maxSize = maxSize; } public ListTablesRequest withDbName(String dbName) { this.dbName = dbName; return this; } public ListTablesRequest withFilter(String filter) { this.filter = filter; return this; } public ListTablesRequest withNextToken(String nextToken) { this.nextToken = nextToken; return this; } public ListTablesRequest withMaxSize(short maxSize) { this.maxSize = maxSize; return this; } }