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

org.apache.inlong.sort.filesystem.shaded.com.amazonaws.services.s3.model.ListBucketIntelligentTieringConfigurationsResult Maven / Gradle / Ivy

There is a newer version: 1.12.0
Show newest version
/*
 * Copyright 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.
 * You may obtain a copy of the License at:
 *
 *    http://aws.amazon.com/apache2.0
 *
 * 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.s3.model;

import java.io.Serializable;
import java.util.List;

import com.amazonaws.services.s3.model.intelligenttiering.IntelligentTieringConfiguration;

/**
 * Result object to contain the response returned from
 * {@link com.amazonaws.services.s3.AmazonS3Client#listBucketAnalyticsConfigurations(ListBucketAnalyticsConfigurationsRequest)}
 * operation.
 */
public class ListBucketIntelligentTieringConfigurationsResult implements Serializable {

    private List intelligentTieringConfigurationList;

    /**
     * Optional parameter which allows list to be continued from a specific point.
     * This is the continuationToken that was sent in the current
     * {@link ListBucketAnalyticsConfigurationsRequest}.
     */
    private String continuationToken;

    /**
     * Indicates if this is a complete listing, or if the caller needs to make
     * additional requests to Amazon S3 to see the full S3 Intelligent-Tiering configuration
     * listing for an S3 bucket.
     */
    private boolean isTruncated;

    /**
     * NextContinuationToken is sent when isTruncated is true meaning there are
     * more S3 Intelligent-Tiering configurations in the bucket that can be listed. The next list requests to Amazon
     * S3 can be continued by providing this NextContinuationToken.
     */
    private String nextContinuationToken;

    /**
     * Returns the list of S3 Intelligent-Tiering configurations for a bucket.
     */
    public List getIntelligentTieringConfigurationList() {
        return intelligentTieringConfigurationList;
    }

    /**
     * Sets the list of S3 Intelligent-Tiering configurations for a bucket.
     */
    public void setIntelligentTieringConfigurationList(
            List intelligentTieringConfigurationList) {
        this.intelligentTieringConfigurationList = intelligentTieringConfigurationList;
    }

    /**
     * Sets the list of S3 Intelligent-Tiering configurations for a bucket and returns
     * {@link ListBucketIntelligentTieringConfigurationsResult} object for method chaining.
     */
    public ListBucketIntelligentTieringConfigurationsResult withIntelligentTieringConfigurationList(
            List intelligentTieringConfigurationList) {
        setIntelligentTieringConfigurationList(intelligentTieringConfigurationList);
        return this;
    }

    /**
     * Gets whether or not this S3 Intelligent-Tiering configuration listing is complete.
     *
     * @return The value true if the S3 Intelligent-Tiering configuration listing is not complete.
     *         Returns the value false if otherwise.
     *         When returning true,
     *         additional calls to Amazon S3 may be needed in order to
     *         obtain more results.
     */
    public boolean isTruncated() {
        return isTruncated;
    }

    /**
     * For internal use only. Sets the truncated property for
     * this S3 Intelligent-Tiering configuration listing, indicating if this is a complete listing or not and
     * whether the caller needs to make additional calls to S3 to get more results.
     *
     * @param isTruncated
     *            The value true if the S3 Intelligent-Tiering configuration listing is not complete.
     *            The value false if otherwise.
     */
    public void setTruncated(boolean isTruncated) {
        this.isTruncated = isTruncated;
    }

    /**
     * For internal use only. Sets the truncated property for
     * this S3 Intelligent-Tiering configuration listing, indicating if this is a complete listing or not and
     * whether the caller needs to make additional calls to S3 to get more results.
     *
     * @param isTruncated
     *            The value true if the S3 Intelligent-Tiering configuration listing is not complete.
     *            The value false if otherwise.
     *
     * @return
     *          This object for method chaining.
     */
    public ListBucketIntelligentTieringConfigurationsResult withTruncated(boolean isTruncated) {
        setTruncated(isTruncated);
        return this;
    }

    /**
     * Gets the optional continuation token.  Continuation token allows a list to be
     * continued from a specific point. This is the continuationToken that was sent in the current
     * {@link ListBucketAnalyticsConfigurationsRequest}.
     *
     * @return The optional continuation token associated with this request.
     */
    public String getContinuationToken() {
        return continuationToken;
    }

    /**
     * Sets the optional continuation token.  Continuation token allows a list to be
     * continued from a specific point. This is the continuationToken that was sent in the current
     * {@link ListBucketAnalyticsConfigurationsRequest}.
     *
     * @param continuationToken
     *                     The optional continuation token to associate with this request.
     */
    public void setContinuationToken(String continuationToken) {
        this.continuationToken = continuationToken;
    }

    /**
     * Sets the optional continuation token.  Continuation token allows a list to be
     * continued from a specific point. This is the continuationToken that was sent in the current
     * {@link ListBucketAnalyticsConfigurationsRequest}.
     *
     * @param continuationToken
     *                     The optional continuation token to associate with this request.
     *
     * @return
     *          This object for method chaining.
     */
    public ListBucketIntelligentTieringConfigurationsResult withContinuationToken(String continuationToken) {
        setContinuationToken(continuationToken);
        return this;
    }

    /**
     * Gets the optional NextContinuationToken.
     * NextContinuationToken is sent when isTruncated is true meaning there are
     * more keys in the bucket that can be listed. The next list requests to Amazon
     * S3 can be continued by providing this NextContinuationToken.
     *
     * @return The optional NextContinuationToken parameter.
     */
    public String getNextContinuationToken() {
        return nextContinuationToken;
    }

    /**
     * Sets the optional NextContinuationToken.
     * NextContinuationToken is sent when isTruncated is true meaning there are
     * more keys in the bucket that can be listed. The next list requests to Amazon
     * S3 can be continued by providing this NextContinuationToken.
     *
     * @param nextContinuationToken
     *              The optional NextContinuationToken parameter to associate with this request.
     */
    public void setNextContinuationToken(String nextContinuationToken) {
        this.nextContinuationToken = nextContinuationToken;
    }

    /**
     * Sets the optional NextContinuationToken.
     * NextContinuationToken is sent when isTruncated is true meaning there are
     * more keys in the bucket that can be listed. The next list requests to Amazon
     * S3 can be continued by providing this NextContinuationToken.
     *
     * @param nextContinuationToken
     *              The optional NextContinuationToken parameter to associate with this request.
     *
     * @return
     *          This object for method chaining.
     */
    public ListBucketIntelligentTieringConfigurationsResult withNextContinuationToken(String nextContinuationToken) {
        setNextContinuationToken(nextContinuationToken);
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy