/* * 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.entityresolution.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 CreateSchemaMappingRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A description of the schema. *
*/ private String description; /** *
* A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source
* data table, and contains column name plus additional information that Entity Resolution uses for matching.
*
* The name of the schema. There cannot be multiple SchemaMappings
with the same name.
*
* The tags used to organize, track, or control access for this resource. *
*/ private java.util.Map* A description of the schema. *
* * @param description * A description of the schema. */ public void setDescription(String description) { this.description = description; } /** ** A description of the schema. *
* * @return A description of the schema. */ public String getDescription() { return this.description; } /** ** A description of the schema. *
* * @param description * A description of the schema. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSchemaMappingRequest withDescription(String description) { setDescription(description); return this; } /** *
* A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source
* data table, and contains column name plus additional information that Entity Resolution uses for matching.
*
MappedInputFields
. Each MappedInputField
corresponds to a column the
* source data table, and contains column name plus additional information that Entity Resolution uses for
* matching.
*/
public java.util.List
* A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source
* data table, and contains column name plus additional information that Entity Resolution uses for matching.
*
MappedInputFields
. Each MappedInputField
corresponds to a column the
* source data table, and contains column name plus additional information that Entity Resolution uses for
* matching.
*/
public void setMappedInputFields(java.util.Collection
* A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source
* data table, and contains column name plus additional information that Entity Resolution uses for matching.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setMappedInputFields(java.util.Collection)} or {@link #withMappedInputFields(java.util.Collection)} if * you want to override the existing values. *
* * @param mappedInputFields * A list ofMappedInputFields
. Each MappedInputField
corresponds to a column the
* source data table, and contains column name plus additional information that Entity Resolution uses for
* matching.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateSchemaMappingRequest withMappedInputFields(SchemaInputAttribute... mappedInputFields) {
if (this.mappedInputFields == null) {
setMappedInputFields(new java.util.ArrayList
* A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source
* data table, and contains column name plus additional information that Entity Resolution uses for matching.
*
MappedInputFields
. Each MappedInputField
corresponds to a column the
* source data table, and contains column name plus additional information that Entity Resolution uses for
* matching.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateSchemaMappingRequest withMappedInputFields(java.util.Collection
* The name of the schema. There cannot be multiple SchemaMappings
with the same name.
*
SchemaMappings
with the same name.
*/
public void setSchemaName(String schemaName) {
this.schemaName = schemaName;
}
/**
*
* The name of the schema. There cannot be multiple SchemaMappings
with the same name.
*
SchemaMappings
with the same name.
*/
public String getSchemaName() {
return this.schemaName;
}
/**
*
* The name of the schema. There cannot be multiple SchemaMappings
with the same name.
*
SchemaMappings
with the same name.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateSchemaMappingRequest withSchemaName(String schemaName) {
setSchemaName(schemaName);
return this;
}
/**
* * The tags used to organize, track, or control access for this resource. *
* * @return The tags used to organize, track, or control access for this resource. */ public java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. */ public void setTags(java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSchemaMappingRequest withTags(java.util.Map