/* * 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.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The metadata for a feature. It can either be metadata that you specify, or metadata that is updated automatically. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class FeatureMetadata implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Number (ARN) of the feature group. *
*/ private String featureGroupArn; /** ** The name of the feature group containing the feature. *
*/ private String featureGroupName; /** ** The name of feature. *
*/ private String featureName; /** ** The data type of the feature. *
*/ private String featureType; /** ** A timestamp indicating when the feature was created. *
*/ private java.util.Date creationTime; /** ** A timestamp indicating when the feature was last modified. *
*/ private java.util.Date lastModifiedTime; /** ** An optional description that you specify to better describe the feature. *
*/ private String description; /** ** Optional key-value pairs that you specify to better describe the feature. *
*/ private java.util.List* The Amazon Resource Number (ARN) of the feature group. *
* * @param featureGroupArn * The Amazon Resource Number (ARN) of the feature group. */ public void setFeatureGroupArn(String featureGroupArn) { this.featureGroupArn = featureGroupArn; } /** ** The Amazon Resource Number (ARN) of the feature group. *
* * @return The Amazon Resource Number (ARN) of the feature group. */ public String getFeatureGroupArn() { return this.featureGroupArn; } /** ** The Amazon Resource Number (ARN) of the feature group. *
* * @param featureGroupArn * The Amazon Resource Number (ARN) of the feature group. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withFeatureGroupArn(String featureGroupArn) { setFeatureGroupArn(featureGroupArn); return this; } /** ** The name of the feature group containing the feature. *
* * @param featureGroupName * The name of the feature group containing the feature. */ public void setFeatureGroupName(String featureGroupName) { this.featureGroupName = featureGroupName; } /** ** The name of the feature group containing the feature. *
* * @return The name of the feature group containing the feature. */ public String getFeatureGroupName() { return this.featureGroupName; } /** ** The name of the feature group containing the feature. *
* * @param featureGroupName * The name of the feature group containing the feature. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withFeatureGroupName(String featureGroupName) { setFeatureGroupName(featureGroupName); return this; } /** ** The name of feature. *
* * @param featureName * The name of feature. */ public void setFeatureName(String featureName) { this.featureName = featureName; } /** ** The name of feature. *
* * @return The name of feature. */ public String getFeatureName() { return this.featureName; } /** ** The name of feature. *
* * @param featureName * The name of feature. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withFeatureName(String featureName) { setFeatureName(featureName); return this; } /** ** The data type of the feature. *
* * @param featureType * The data type of the feature. * @see FeatureType */ public void setFeatureType(String featureType) { this.featureType = featureType; } /** ** The data type of the feature. *
* * @return The data type of the feature. * @see FeatureType */ public String getFeatureType() { return this.featureType; } /** ** The data type of the feature. *
* * @param featureType * The data type of the feature. * @return Returns a reference to this object so that method calls can be chained together. * @see FeatureType */ public FeatureMetadata withFeatureType(String featureType) { setFeatureType(featureType); return this; } /** ** The data type of the feature. *
* * @param featureType * The data type of the feature. * @return Returns a reference to this object so that method calls can be chained together. * @see FeatureType */ public FeatureMetadata withFeatureType(FeatureType featureType) { this.featureType = featureType.toString(); return this; } /** ** A timestamp indicating when the feature was created. *
* * @param creationTime * A timestamp indicating when the feature was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** A timestamp indicating when the feature was created. *
* * @return A timestamp indicating when the feature was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** A timestamp indicating when the feature was created. *
* * @param creationTime * A timestamp indicating when the feature was created. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** A timestamp indicating when the feature was last modified. *
* * @param lastModifiedTime * A timestamp indicating when the feature was last modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** ** A timestamp indicating when the feature was last modified. *
* * @return A timestamp indicating when the feature was last modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** ** A timestamp indicating when the feature was last modified. *
* * @param lastModifiedTime * A timestamp indicating when the feature was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** ** An optional description that you specify to better describe the feature. *
* * @param description * An optional description that you specify to better describe the feature. */ public void setDescription(String description) { this.description = description; } /** ** An optional description that you specify to better describe the feature. *
* * @return An optional description that you specify to better describe the feature. */ public String getDescription() { return this.description; } /** ** An optional description that you specify to better describe the feature. *
* * @param description * An optional description that you specify to better describe the feature. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withDescription(String description) { setDescription(description); return this; } /** ** Optional key-value pairs that you specify to better describe the feature. *
* * @return Optional key-value pairs that you specify to better describe the feature. */ public java.util.List* Optional key-value pairs that you specify to better describe the feature. *
* * @param parameters * Optional key-value pairs that you specify to better describe the feature. */ public void setParameters(java.util.Collection* Optional key-value pairs that you specify to better describe the feature. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParameters(java.util.Collection)} or {@link #withParameters(java.util.Collection)} if you want to * override the existing values. *
* * @param parameters * Optional key-value pairs that you specify to better describe the feature. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withParameters(FeatureParameter... parameters) { if (this.parameters == null) { setParameters(new java.util.ArrayList* Optional key-value pairs that you specify to better describe the feature. *
* * @param parameters * Optional key-value pairs that you specify to better describe the feature. * @return Returns a reference to this object so that method calls can be chained together. */ public FeatureMetadata withParameters(java.util.Collection