/* * 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.glue.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The structure used to create and update a partition. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PartitionInput implements Serializable, Cloneable, StructuredPojo { /** ** The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter * for a valid input. *
** The values for the keys for the new partition must be passed as an array of String objects that must be ordered * in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to * the wrong keys. *
*/ private java.util.List* The last time at which the partition was accessed. *
*/ private java.util.Date lastAccessTime; /** ** Provides information about the physical location where the partition is stored. *
*/ private StorageDescriptor storageDescriptor; /** ** These key-value pairs define partition parameters. *
*/ private java.util.Map* The last time at which column statistics were computed for this partition. *
*/ private java.util.Date lastAnalyzedTime; /** ** The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter * for a valid input. *
** The values for the keys for the new partition must be passed as an array of String objects that must be ordered * in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to * the wrong keys. *
* * @return The values of the partition. Although this parameter is not required by the SDK, you must specify this * parameter for a valid input. *
* The values for the keys for the new partition must be passed as an array of String objects that must be
* ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will
* add the values to the wrong keys.
*/
public java.util.List
* The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter
* for a valid input.
*
* The values for the keys for the new partition must be passed as an array of String objects that must be ordered
* in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to
* the wrong keys.
*
* The values for the keys for the new partition must be passed as an array of String objects that must be
* ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add
* the values to the wrong keys.
*/
public void setValues(java.util.Collection
* The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter
* for a valid input.
*
* The values for the keys for the new partition must be passed as an array of String objects that must be ordered
* in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to
* the wrong keys.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setValues(java.util.Collection)} or {@link #withValues(java.util.Collection)} if you want to override the
* existing values.
*
* The values for the keys for the new partition must be passed as an array of String objects that must be
* ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add
* the values to the wrong keys.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PartitionInput withValues(String... values) {
if (this.values == null) {
setValues(new java.util.ArrayList
* The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter
* for a valid input.
*
* The values for the keys for the new partition must be passed as an array of String objects that must be ordered
* in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to
* the wrong keys.
*
* The values for the keys for the new partition must be passed as an array of String objects that must be
* ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add
* the values to the wrong keys.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PartitionInput withValues(java.util.Collection
* The last time at which the partition was accessed.
*
* The last time at which the partition was accessed.
*
* The last time at which the partition was accessed.
*
* Provides information about the physical location where the partition is stored.
*
* Provides information about the physical location where the partition is stored.
*
* Provides information about the physical location where the partition is stored.
*
* These key-value pairs define partition parameters.
*
* These key-value pairs define partition parameters.
*
* These key-value pairs define partition parameters.
*
* The last time at which column statistics were computed for this partition.
*
* The last time at which column statistics were computed for this partition.
*
* The last time at which column statistics were computed for this partition.
*