/* * 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 UpdateHubRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the hub to update. *
*/ private String hubName; /** ** A description of the updated hub. *
*/ private String hubDescription; /** ** The display name of the hub. *
*/ private String hubDisplayName; /** ** The searchable keywords for the hub. *
*/ private java.util.List* The name of the hub to update. *
* * @param hubName * The name of the hub to update. */ public void setHubName(String hubName) { this.hubName = hubName; } /** ** The name of the hub to update. *
* * @return The name of the hub to update. */ public String getHubName() { return this.hubName; } /** ** The name of the hub to update. *
* * @param hubName * The name of the hub to update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateHubRequest withHubName(String hubName) { setHubName(hubName); return this; } /** ** A description of the updated hub. *
* * @param hubDescription * A description of the updated hub. */ public void setHubDescription(String hubDescription) { this.hubDescription = hubDescription; } /** ** A description of the updated hub. *
* * @return A description of the updated hub. */ public String getHubDescription() { return this.hubDescription; } /** ** A description of the updated hub. *
* * @param hubDescription * A description of the updated hub. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateHubRequest withHubDescription(String hubDescription) { setHubDescription(hubDescription); return this; } /** ** The display name of the hub. *
* * @param hubDisplayName * The display name of the hub. */ public void setHubDisplayName(String hubDisplayName) { this.hubDisplayName = hubDisplayName; } /** ** The display name of the hub. *
* * @return The display name of the hub. */ public String getHubDisplayName() { return this.hubDisplayName; } /** ** The display name of the hub. *
* * @param hubDisplayName * The display name of the hub. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateHubRequest withHubDisplayName(String hubDisplayName) { setHubDisplayName(hubDisplayName); return this; } /** ** The searchable keywords for the hub. *
* * @return The searchable keywords for the hub. */ public java.util.List* The searchable keywords for the hub. *
* * @param hubSearchKeywords * The searchable keywords for the hub. */ public void setHubSearchKeywords(java.util.Collection* The searchable keywords for the hub. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setHubSearchKeywords(java.util.Collection)} or {@link #withHubSearchKeywords(java.util.Collection)} if * you want to override the existing values. *
* * @param hubSearchKeywords * The searchable keywords for the hub. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateHubRequest withHubSearchKeywords(String... hubSearchKeywords) { if (this.hubSearchKeywords == null) { setHubSearchKeywords(new java.util.ArrayList* The searchable keywords for the hub. *
* * @param hubSearchKeywords * The searchable keywords for the hub. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateHubRequest withHubSearchKeywords(java.util.Collection