/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file 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. */ package com.amazonaws.services.databasemigrationservice.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeTableStatisticsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** ** The Amazon Resource Name (ARN) of the replication task. *
*/ private String replicationTaskArn; /** *
* The maximum number of records to include in the response. If more records exist than the specified
* MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
*
* Default: 100 *
** Constraints: Minimum 20, maximum 500. *
*/ private Integer maxRecords; /** *
* An optional pagination token provided by a previous request. If this parameter is specified, the response
* includes only records beyond the marker, up to the value specified by MaxRecords
.
*
* Filters applied to table statistics. *
** Valid filter names: schema-name | table-name | table-state *
** A combination of filters creates an AND condition where each record matches all specified filters. *
*/ private java.util.List* The Amazon Resource Name (ARN) of the replication task. *
* * @param replicationTaskArn * The Amazon Resource Name (ARN) of the replication task. */ public void setReplicationTaskArn(String replicationTaskArn) { this.replicationTaskArn = replicationTaskArn; } /** ** The Amazon Resource Name (ARN) of the replication task. *
* * @return The Amazon Resource Name (ARN) of the replication task. */ public String getReplicationTaskArn() { return this.replicationTaskArn; } /** ** The Amazon Resource Name (ARN) of the replication task. *
* * @param replicationTaskArn * The Amazon Resource Name (ARN) of the replication task. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableStatisticsRequest withReplicationTaskArn(String replicationTaskArn) { setReplicationTaskArn(replicationTaskArn); return this; } /** *
* The maximum number of records to include in the response. If more records exist than the specified
* MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
*
* Default: 100 *
** Constraints: Minimum 20, maximum 500. *
* * @param maxRecords * The maximum number of records to include in the response. If more records exist than the specified *MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
* * Default: 100 *
** Constraints: Minimum 20, maximum 500. */ public void setMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; } /** *
* The maximum number of records to include in the response. If more records exist than the specified
* MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
*
* Default: 100 *
** Constraints: Minimum 20, maximum 500. *
* * @return The maximum number of records to include in the response. If more records exist than the specified *MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
* * Default: 100 *
** Constraints: Minimum 20, maximum 500. */ public Integer getMaxRecords() { return this.maxRecords; } /** *
* The maximum number of records to include in the response. If more records exist than the specified
* MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
*
* Default: 100 *
** Constraints: Minimum 20, maximum 500. *
* * @param maxRecords * The maximum number of records to include in the response. If more records exist than the specified *MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
* * Default: 100 *
** Constraints: Minimum 20, maximum 500. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableStatisticsRequest withMaxRecords(Integer maxRecords) { setMaxRecords(maxRecords); return this; } /** *
* An optional pagination token provided by a previous request. If this parameter is specified, the response
* includes only records beyond the marker, up to the value specified by MaxRecords
.
*
MaxRecords
.
*/
public void setMarker(String marker) {
this.marker = marker;
}
/**
*
* An optional pagination token provided by a previous request. If this parameter is specified, the response
* includes only records beyond the marker, up to the value specified by MaxRecords
.
*
MaxRecords
.
*/
public String getMarker() {
return this.marker;
}
/**
*
* An optional pagination token provided by a previous request. If this parameter is specified, the response
* includes only records beyond the marker, up to the value specified by MaxRecords
.
*
MaxRecords
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeTableStatisticsRequest withMarker(String marker) {
setMarker(marker);
return this;
}
/**
* * Filters applied to table statistics. *
** Valid filter names: schema-name | table-name | table-state *
** A combination of filters creates an AND condition where each record matches all specified filters. *
* * @return Filters applied to table statistics. ** Valid filter names: schema-name | table-name | table-state *
*
* A combination of filters creates an AND condition where each record matches all specified filters.
*/
public java.util.List
* Filters applied to table statistics.
*
* Valid filter names: schema-name | table-name | table-state
*
* A combination of filters creates an AND condition where each record matches all specified filters.
*
* Valid filter names: schema-name | table-name | table-state *
*
* A combination of filters creates an AND condition where each record matches all specified filters.
*/
public void setFilters(java.util.Collection
* Filters applied to table statistics.
*
* Valid filter names: schema-name | table-name | table-state
*
* A combination of filters creates an AND condition where each record matches all specified filters.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setFilters(java.util.Collection)} or {@link #withFilters(java.util.Collection)} if you want to override
* the existing values.
*
* Valid filter names: schema-name | table-name | table-state *
*
* A combination of filters creates an AND condition where each record matches all specified filters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeTableStatisticsRequest withFilters(Filter... filters) {
if (this.filters == null) {
setFilters(new java.util.ArrayList
* Filters applied to table statistics.
*
* Valid filter names: schema-name | table-name | table-state
*
* A combination of filters creates an AND condition where each record matches all specified filters.
*
* Valid filter names: schema-name | table-name | table-state *
*
* A combination of filters creates an AND condition where each record matches all specified filters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeTableStatisticsRequest withFilters(java.util.Collection