All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.datazone.model.GlueRunConfigurationInput Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 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.datazone.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The configuration details of the Amazon Web Services Glue data source. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GlueRunConfigurationInput implements Serializable, Cloneable, StructuredPojo { /** *

* Specifies whether to automatically import data quality metrics as part of the data source run. *

*/ private Boolean autoImportDataQualityResult; /** *

* The data access role included in the configuration details of the Amazon Web Services Glue data source. *

*/ private String dataAccessRole; /** *

* The relational filter configurations included in the configuration details of the Amazon Web Services Glue data * source. *

*/ private java.util.List relationalFilterConfigurations; /** *

* Specifies whether to automatically import data quality metrics as part of the data source run. *

* * @param autoImportDataQualityResult * Specifies whether to automatically import data quality metrics as part of the data source run. */ public void setAutoImportDataQualityResult(Boolean autoImportDataQualityResult) { this.autoImportDataQualityResult = autoImportDataQualityResult; } /** *

* Specifies whether to automatically import data quality metrics as part of the data source run. *

* * @return Specifies whether to automatically import data quality metrics as part of the data source run. */ public Boolean getAutoImportDataQualityResult() { return this.autoImportDataQualityResult; } /** *

* Specifies whether to automatically import data quality metrics as part of the data source run. *

* * @param autoImportDataQualityResult * Specifies whether to automatically import data quality metrics as part of the data source run. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueRunConfigurationInput withAutoImportDataQualityResult(Boolean autoImportDataQualityResult) { setAutoImportDataQualityResult(autoImportDataQualityResult); return this; } /** *

* Specifies whether to automatically import data quality metrics as part of the data source run. *

* * @return Specifies whether to automatically import data quality metrics as part of the data source run. */ public Boolean isAutoImportDataQualityResult() { return this.autoImportDataQualityResult; } /** *

* The data access role included in the configuration details of the Amazon Web Services Glue data source. *

* * @param dataAccessRole * The data access role included in the configuration details of the Amazon Web Services Glue data source. */ public void setDataAccessRole(String dataAccessRole) { this.dataAccessRole = dataAccessRole; } /** *

* The data access role included in the configuration details of the Amazon Web Services Glue data source. *

* * @return The data access role included in the configuration details of the Amazon Web Services Glue data source. */ public String getDataAccessRole() { return this.dataAccessRole; } /** *

* The data access role included in the configuration details of the Amazon Web Services Glue data source. *

* * @param dataAccessRole * The data access role included in the configuration details of the Amazon Web Services Glue data source. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueRunConfigurationInput withDataAccessRole(String dataAccessRole) { setDataAccessRole(dataAccessRole); return this; } /** *

* The relational filter configurations included in the configuration details of the Amazon Web Services Glue data * source. *

* * @return The relational filter configurations included in the configuration details of the Amazon Web Services * Glue data source. */ public java.util.List getRelationalFilterConfigurations() { return relationalFilterConfigurations; } /** *

* The relational filter configurations included in the configuration details of the Amazon Web Services Glue data * source. *

* * @param relationalFilterConfigurations * The relational filter configurations included in the configuration details of the Amazon Web Services Glue * data source. */ public void setRelationalFilterConfigurations(java.util.Collection relationalFilterConfigurations) { if (relationalFilterConfigurations == null) { this.relationalFilterConfigurations = null; return; } this.relationalFilterConfigurations = new java.util.ArrayList(relationalFilterConfigurations); } /** *

* The relational filter configurations included in the configuration details of the Amazon Web Services Glue data * source. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setRelationalFilterConfigurations(java.util.Collection)} or * {@link #withRelationalFilterConfigurations(java.util.Collection)} if you want to override the existing values. *

* * @param relationalFilterConfigurations * The relational filter configurations included in the configuration details of the Amazon Web Services Glue * data source. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueRunConfigurationInput withRelationalFilterConfigurations(RelationalFilterConfiguration... relationalFilterConfigurations) { if (this.relationalFilterConfigurations == null) { setRelationalFilterConfigurations(new java.util.ArrayList(relationalFilterConfigurations.length)); } for (RelationalFilterConfiguration ele : relationalFilterConfigurations) { this.relationalFilterConfigurations.add(ele); } return this; } /** *

* The relational filter configurations included in the configuration details of the Amazon Web Services Glue data * source. *

* * @param relationalFilterConfigurations * The relational filter configurations included in the configuration details of the Amazon Web Services Glue * data source. * @return Returns a reference to this object so that method calls can be chained together. */ public GlueRunConfigurationInput withRelationalFilterConfigurations(java.util.Collection relationalFilterConfigurations) { setRelationalFilterConfigurations(relationalFilterConfigurations); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAutoImportDataQualityResult() != null) sb.append("AutoImportDataQualityResult: ").append(getAutoImportDataQualityResult()).append(","); if (getDataAccessRole() != null) sb.append("DataAccessRole: ").append(getDataAccessRole()).append(","); if (getRelationalFilterConfigurations() != null) sb.append("RelationalFilterConfigurations: ").append(getRelationalFilterConfigurations()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GlueRunConfigurationInput == false) return false; GlueRunConfigurationInput other = (GlueRunConfigurationInput) obj; if (other.getAutoImportDataQualityResult() == null ^ this.getAutoImportDataQualityResult() == null) return false; if (other.getAutoImportDataQualityResult() != null && other.getAutoImportDataQualityResult().equals(this.getAutoImportDataQualityResult()) == false) return false; if (other.getDataAccessRole() == null ^ this.getDataAccessRole() == null) return false; if (other.getDataAccessRole() != null && other.getDataAccessRole().equals(this.getDataAccessRole()) == false) return false; if (other.getRelationalFilterConfigurations() == null ^ this.getRelationalFilterConfigurations() == null) return false; if (other.getRelationalFilterConfigurations() != null && other.getRelationalFilterConfigurations().equals(this.getRelationalFilterConfigurations()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAutoImportDataQualityResult() == null) ? 0 : getAutoImportDataQualityResult().hashCode()); hashCode = prime * hashCode + ((getDataAccessRole() == null) ? 0 : getDataAccessRole().hashCode()); hashCode = prime * hashCode + ((getRelationalFilterConfigurations() == null) ? 0 : getRelationalFilterConfigurations().hashCode()); return hashCode; } @Override public GlueRunConfigurationInput clone() { try { return (GlueRunConfigurationInput) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.datazone.model.transform.GlueRunConfigurationInputMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy