/* * 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 ImportHubContentRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the hub content to import. *
*/ private String hubContentName; /** ** The version of the hub content to import. *
*/ private String hubContentVersion; /** ** The type of hub content to import. *
*/ private String hubContentType; /** ** The version of the hub content schema to import. *
*/ private String documentSchemaVersion; /** ** The name of the hub to import content into. *
*/ private String hubName; /** ** The display name of the hub content to import. *
*/ private String hubContentDisplayName; /** ** A description of the hub content to import. *
*/ private String hubContentDescription; /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
*/ private String hubContentMarkdown; /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
*/ private String hubContentDocument; /** ** The searchable keywords of the hub content. *
*/ private java.util.List* Any tags associated with the hub content. *
*/ private java.util.List* The name of the hub content to import. *
* * @param hubContentName * The name of the hub content to import. */ public void setHubContentName(String hubContentName) { this.hubContentName = hubContentName; } /** ** The name of the hub content to import. *
* * @return The name of the hub content to import. */ public String getHubContentName() { return this.hubContentName; } /** ** The name of the hub content to import. *
* * @param hubContentName * The name of the hub content to import. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentName(String hubContentName) { setHubContentName(hubContentName); return this; } /** ** The version of the hub content to import. *
* * @param hubContentVersion * The version of the hub content to import. */ public void setHubContentVersion(String hubContentVersion) { this.hubContentVersion = hubContentVersion; } /** ** The version of the hub content to import. *
* * @return The version of the hub content to import. */ public String getHubContentVersion() { return this.hubContentVersion; } /** ** The version of the hub content to import. *
* * @param hubContentVersion * The version of the hub content to import. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentVersion(String hubContentVersion) { setHubContentVersion(hubContentVersion); return this; } /** ** The type of hub content to import. *
* * @param hubContentType * The type of hub content to import. * @see HubContentType */ public void setHubContentType(String hubContentType) { this.hubContentType = hubContentType; } /** ** The type of hub content to import. *
* * @return The type of hub content to import. * @see HubContentType */ public String getHubContentType() { return this.hubContentType; } /** ** The type of hub content to import. *
* * @param hubContentType * The type of hub content to import. * @return Returns a reference to this object so that method calls can be chained together. * @see HubContentType */ public ImportHubContentRequest withHubContentType(String hubContentType) { setHubContentType(hubContentType); return this; } /** ** The type of hub content to import. *
* * @param hubContentType * The type of hub content to import. * @return Returns a reference to this object so that method calls can be chained together. * @see HubContentType */ public ImportHubContentRequest withHubContentType(HubContentType hubContentType) { this.hubContentType = hubContentType.toString(); return this; } /** ** The version of the hub content schema to import. *
* * @param documentSchemaVersion * The version of the hub content schema to import. */ public void setDocumentSchemaVersion(String documentSchemaVersion) { this.documentSchemaVersion = documentSchemaVersion; } /** ** The version of the hub content schema to import. *
* * @return The version of the hub content schema to import. */ public String getDocumentSchemaVersion() { return this.documentSchemaVersion; } /** ** The version of the hub content schema to import. *
* * @param documentSchemaVersion * The version of the hub content schema to import. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withDocumentSchemaVersion(String documentSchemaVersion) { setDocumentSchemaVersion(documentSchemaVersion); return this; } /** ** The name of the hub to import content into. *
* * @param hubName * The name of the hub to import content into. */ public void setHubName(String hubName) { this.hubName = hubName; } /** ** The name of the hub to import content into. *
* * @return The name of the hub to import content into. */ public String getHubName() { return this.hubName; } /** ** The name of the hub to import content into. *
* * @param hubName * The name of the hub to import content into. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubName(String hubName) { setHubName(hubName); return this; } /** ** The display name of the hub content to import. *
* * @param hubContentDisplayName * The display name of the hub content to import. */ public void setHubContentDisplayName(String hubContentDisplayName) { this.hubContentDisplayName = hubContentDisplayName; } /** ** The display name of the hub content to import. *
* * @return The display name of the hub content to import. */ public String getHubContentDisplayName() { return this.hubContentDisplayName; } /** ** The display name of the hub content to import. *
* * @param hubContentDisplayName * The display name of the hub content to import. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentDisplayName(String hubContentDisplayName) { setHubContentDisplayName(hubContentDisplayName); return this; } /** ** A description of the hub content to import. *
* * @param hubContentDescription * A description of the hub content to import. */ public void setHubContentDescription(String hubContentDescription) { this.hubContentDescription = hubContentDescription; } /** ** A description of the hub content to import. *
* * @return A description of the hub content to import. */ public String getHubContentDescription() { return this.hubContentDescription; } /** ** A description of the hub content to import. *
* * @param hubContentDescription * A description of the hub content to import. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentDescription(String hubContentDescription) { setHubContentDescription(hubContentDescription); return this; } /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
* * @param hubContentMarkdown * A string that provides a description of the hub content. This string can include links, tables, and * standard markdown formating. */ public void setHubContentMarkdown(String hubContentMarkdown) { this.hubContentMarkdown = hubContentMarkdown; } /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
* * @return A string that provides a description of the hub content. This string can include links, tables, and * standard markdown formating. */ public String getHubContentMarkdown() { return this.hubContentMarkdown; } /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
* * @param hubContentMarkdown * A string that provides a description of the hub content. This string can include links, tables, and * standard markdown formating. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentMarkdown(String hubContentMarkdown) { setHubContentMarkdown(hubContentMarkdown); return this; } /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
* * @param hubContentDocument * The hub content document that describes information about the hub content such as type, associated * containers, scripts, and more. */ public void setHubContentDocument(String hubContentDocument) { this.hubContentDocument = hubContentDocument; } /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
* * @return The hub content document that describes information about the hub content such as type, associated * containers, scripts, and more. */ public String getHubContentDocument() { return this.hubContentDocument; } /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
* * @param hubContentDocument * The hub content document that describes information about the hub content such as type, associated * containers, scripts, and more. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentDocument(String hubContentDocument) { setHubContentDocument(hubContentDocument); return this; } /** ** The searchable keywords of the hub content. *
* * @return The searchable keywords of the hub content. */ public java.util.List* The searchable keywords of the hub content. *
* * @param hubContentSearchKeywords * The searchable keywords of the hub content. */ public void setHubContentSearchKeywords(java.util.Collection* The searchable keywords of the hub content. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setHubContentSearchKeywords(java.util.Collection)} or * {@link #withHubContentSearchKeywords(java.util.Collection)} if you want to override the existing values. *
* * @param hubContentSearchKeywords * The searchable keywords of the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentSearchKeywords(String... hubContentSearchKeywords) { if (this.hubContentSearchKeywords == null) { setHubContentSearchKeywords(new java.util.ArrayList* The searchable keywords of the hub content. *
* * @param hubContentSearchKeywords * The searchable keywords of the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withHubContentSearchKeywords(java.util.Collection* Any tags associated with the hub content. *
* * @return Any tags associated with the hub content. */ public java.util.List* Any tags associated with the hub content. *
* * @param tags * Any tags associated with the hub content. */ public void setTags(java.util.Collection* Any tags associated with the hub content. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * Any tags associated with the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* Any tags associated with the hub content. *
* * @param tags * Any tags associated with the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportHubContentRequest withTags(java.util.Collection