/* * 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; /** *
* A structure containing metadata information for a schema version. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class MetadataInfo implements Serializable, Cloneable, StructuredPojo { /** ** The metadata key’s corresponding value. *
*/ private String metadataValue; /** ** The time at which the entry was created. *
*/ private String createdTime; /** ** Other metadata belonging to the same metadata key. *
*/ private java.util.List* The metadata key’s corresponding value. *
* * @param metadataValue * The metadata key’s corresponding value. */ public void setMetadataValue(String metadataValue) { this.metadataValue = metadataValue; } /** ** The metadata key’s corresponding value. *
* * @return The metadata key’s corresponding value. */ public String getMetadataValue() { return this.metadataValue; } /** ** The metadata key’s corresponding value. *
* * @param metadataValue * The metadata key’s corresponding value. * @return Returns a reference to this object so that method calls can be chained together. */ public MetadataInfo withMetadataValue(String metadataValue) { setMetadataValue(metadataValue); return this; } /** ** The time at which the entry was created. *
* * @param createdTime * The time at which the entry was created. */ public void setCreatedTime(String createdTime) { this.createdTime = createdTime; } /** ** The time at which the entry was created. *
* * @return The time at which the entry was created. */ public String getCreatedTime() { return this.createdTime; } /** ** The time at which the entry was created. *
* * @param createdTime * The time at which the entry was created. * @return Returns a reference to this object so that method calls can be chained together. */ public MetadataInfo withCreatedTime(String createdTime) { setCreatedTime(createdTime); return this; } /** ** Other metadata belonging to the same metadata key. *
* * @return Other metadata belonging to the same metadata key. */ public java.util.List* Other metadata belonging to the same metadata key. *
* * @param otherMetadataValueList * Other metadata belonging to the same metadata key. */ public void setOtherMetadataValueList(java.util.Collection* Other metadata belonging to the same metadata key. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOtherMetadataValueList(java.util.Collection)} or * {@link #withOtherMetadataValueList(java.util.Collection)} if you want to override the existing values. *
* * @param otherMetadataValueList * Other metadata belonging to the same metadata key. * @return Returns a reference to this object so that method calls can be chained together. */ public MetadataInfo withOtherMetadataValueList(OtherMetadataValueListItem... otherMetadataValueList) { if (this.otherMetadataValueList == null) { setOtherMetadataValueList(new java.util.ArrayList* Other metadata belonging to the same metadata key. *
* * @param otherMetadataValueList * Other metadata belonging to the same metadata key. * @return Returns a reference to this object so that method calls can be chained together. */ public MetadataInfo withOtherMetadataValueList(java.util.Collection