/* * 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 DescribeReplicationTableStatisticsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** ** The replication config to describe. *
*/ private String replicationConfigArn; /** *
* 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.
*
* 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 the replication table statistics. *
*/ private java.util.List* The replication config to describe. *
* * @param replicationConfigArn * The replication config to describe. */ public void setReplicationConfigArn(String replicationConfigArn) { this.replicationConfigArn = replicationConfigArn; } /** ** The replication config to describe. *
* * @return The replication config to describe. */ public String getReplicationConfigArn() { return this.replicationConfigArn; } /** ** The replication config to describe. *
* * @param replicationConfigArn * The replication config to describe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReplicationTableStatisticsRequest withReplicationConfigArn(String replicationConfigArn) { setReplicationConfigArn(replicationConfigArn); 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.
*
MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
*/
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.
*
MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
*/
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.
*
MaxRecords
value, a pagination token called a marker is included in the response so that the
* remaining results can be retrieved.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeReplicationTableStatisticsRequest 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 DescribeReplicationTableStatisticsRequest withMarker(String marker) {
setMarker(marker);
return this;
}
/**
* * Filters applied to the replication table statistics. *
* * @return Filters applied to the replication table statistics. */ public java.util.List* Filters applied to the replication table statistics. *
* * @param filters * Filters applied to the replication table statistics. */ public void setFilters(java.util.Collection* Filters applied to the replication table statistics. *
** 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. *
* * @param filters * Filters applied to the replication table statistics. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReplicationTableStatisticsRequest withFilters(Filter... filters) { if (this.filters == null) { setFilters(new java.util.ArrayList* Filters applied to the replication table statistics. *
* * @param filters * Filters applied to the replication table statistics. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReplicationTableStatisticsRequest withFilters(java.util.Collection