/* * 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.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateFeatureMetadataRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. *
*/ private String featureGroupName; /** ** The name of the feature that you're updating. *
*/ private String featureName; /** ** A description that you can write to better describe the feature. *
*/ private String description; /** ** A list of key-value pairs that you can add to better describe the feature. *
*/ private java.util.List* A list of parameter keys that you can specify to remove parameters that describe your feature. *
*/ private java.util.List* The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. *
* * @param featureGroupName * The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. */ public void setFeatureGroupName(String featureGroupName) { this.featureGroupName = featureGroupName; } /** ** The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. *
* * @return The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. */ public String getFeatureGroupName() { return this.featureGroupName; } /** ** The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. *
* * @param featureGroupName * The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFeatureMetadataRequest withFeatureGroupName(String featureGroupName) { setFeatureGroupName(featureGroupName); return this; } /** ** The name of the feature that you're updating. *
* * @param featureName * The name of the feature that you're updating. */ public void setFeatureName(String featureName) { this.featureName = featureName; } /** ** The name of the feature that you're updating. *
* * @return The name of the feature that you're updating. */ public String getFeatureName() { return this.featureName; } /** ** The name of the feature that you're updating. *
* * @param featureName * The name of the feature that you're updating. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFeatureMetadataRequest withFeatureName(String featureName) { setFeatureName(featureName); return this; } /** ** A description that you can write to better describe the feature. *
* * @param description * A description that you can write to better describe the feature. */ public void setDescription(String description) { this.description = description; } /** ** A description that you can write to better describe the feature. *
* * @return A description that you can write to better describe the feature. */ public String getDescription() { return this.description; } /** ** A description that you can write to better describe the feature. *
* * @param description * A description that you can write to better describe the feature. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFeatureMetadataRequest withDescription(String description) { setDescription(description); return this; } /** ** A list of key-value pairs that you can add to better describe the feature. *
* * @return A list of key-value pairs that you can add to better describe the feature. */ public java.util.List* A list of key-value pairs that you can add to better describe the feature. *
* * @param parameterAdditions * A list of key-value pairs that you can add to better describe the feature. */ public void setParameterAdditions(java.util.Collection* A list of key-value pairs that you can add to better describe the feature. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParameterAdditions(java.util.Collection)} or {@link #withParameterAdditions(java.util.Collection)} if * you want to override the existing values. *
* * @param parameterAdditions * A list of key-value pairs that you can add to better describe the feature. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFeatureMetadataRequest withParameterAdditions(FeatureParameter... parameterAdditions) { if (this.parameterAdditions == null) { setParameterAdditions(new java.util.ArrayList* A list of key-value pairs that you can add to better describe the feature. *
* * @param parameterAdditions * A list of key-value pairs that you can add to better describe the feature. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFeatureMetadataRequest withParameterAdditions(java.util.Collection* A list of parameter keys that you can specify to remove parameters that describe your feature. *
* * @return A list of parameter keys that you can specify to remove parameters that describe your feature. */ public java.util.List* A list of parameter keys that you can specify to remove parameters that describe your feature. *
* * @param parameterRemovals * A list of parameter keys that you can specify to remove parameters that describe your feature. */ public void setParameterRemovals(java.util.Collection* A list of parameter keys that you can specify to remove parameters that describe your feature. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParameterRemovals(java.util.Collection)} or {@link #withParameterRemovals(java.util.Collection)} if * you want to override the existing values. *
* * @param parameterRemovals * A list of parameter keys that you can specify to remove parameters that describe your feature. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFeatureMetadataRequest withParameterRemovals(String... parameterRemovals) { if (this.parameterRemovals == null) { setParameterRemovals(new java.util.ArrayList* A list of parameter keys that you can specify to remove parameters that describe your feature. *
* * @param parameterRemovals * A list of parameter keys that you can specify to remove parameters that describe your feature. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFeatureMetadataRequest withParameterRemovals(java.util.Collection