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

com.amazonaws.services.entityresolution.model.IdMappingJobOutputSource Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS EntityResolution module holds the client classes that are used for communicating with AWS EntityResolution Service

The newest version!
/*
 * 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.entityresolution.model;

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

/**
 * 

* An object containing KMSArn, OutputS3Path, and RoleARN. *

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

* Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key. *

*/ private String kMSArn; /** *

* The S3 path to which Entity Resolution will write the output table. *

*/ private String outputS3Path; /** *

* The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services * resources on your behalf as part of workflow execution. *

*/ private String roleArn; /** *

* Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key. *

* * @param kMSArn * Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS * key. */ public void setKMSArn(String kMSArn) { this.kMSArn = kMSArn; } /** *

* Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key. *

* * @return Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed * KMS key. */ public String getKMSArn() { return this.kMSArn; } /** *

* Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key. *

* * @param kMSArn * Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS * key. * @return Returns a reference to this object so that method calls can be chained together. */ public IdMappingJobOutputSource withKMSArn(String kMSArn) { setKMSArn(kMSArn); return this; } /** *

* The S3 path to which Entity Resolution will write the output table. *

* * @param outputS3Path * The S3 path to which Entity Resolution will write the output table. */ public void setOutputS3Path(String outputS3Path) { this.outputS3Path = outputS3Path; } /** *

* The S3 path to which Entity Resolution will write the output table. *

* * @return The S3 path to which Entity Resolution will write the output table. */ public String getOutputS3Path() { return this.outputS3Path; } /** *

* The S3 path to which Entity Resolution will write the output table. *

* * @param outputS3Path * The S3 path to which Entity Resolution will write the output table. * @return Returns a reference to this object so that method calls can be chained together. */ public IdMappingJobOutputSource withOutputS3Path(String outputS3Path) { setOutputS3Path(outputS3Path); return this; } /** *

* The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services * resources on your behalf as part of workflow execution. *

* * @param roleArn * The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web * Services resources on your behalf as part of workflow execution. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** *

* The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services * resources on your behalf as part of workflow execution. *

* * @return The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web * Services resources on your behalf as part of workflow execution. */ public String getRoleArn() { return this.roleArn; } /** *

* The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services * resources on your behalf as part of workflow execution. *

* * @param roleArn * The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web * Services resources on your behalf as part of workflow execution. * @return Returns a reference to this object so that method calls can be chained together. */ public IdMappingJobOutputSource withRoleArn(String roleArn) { setRoleArn(roleArn); 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 (getKMSArn() != null) sb.append("KMSArn: ").append(getKMSArn()).append(","); if (getOutputS3Path() != null) sb.append("OutputS3Path: ").append(getOutputS3Path()).append(","); if (getRoleArn() != null) sb.append("RoleArn: ").append(getRoleArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof IdMappingJobOutputSource == false) return false; IdMappingJobOutputSource other = (IdMappingJobOutputSource) obj; if (other.getKMSArn() == null ^ this.getKMSArn() == null) return false; if (other.getKMSArn() != null && other.getKMSArn().equals(this.getKMSArn()) == false) return false; if (other.getOutputS3Path() == null ^ this.getOutputS3Path() == null) return false; if (other.getOutputS3Path() != null && other.getOutputS3Path().equals(this.getOutputS3Path()) == false) return false; if (other.getRoleArn() == null ^ this.getRoleArn() == null) return false; if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getKMSArn() == null) ? 0 : getKMSArn().hashCode()); hashCode = prime * hashCode + ((getOutputS3Path() == null) ? 0 : getOutputS3Path().hashCode()); hashCode = prime * hashCode + ((getRoleArn() == null) ? 0 : getRoleArn().hashCode()); return hashCode; } @Override public IdMappingJobOutputSource clone() { try { return (IdMappingJobOutputSource) 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.entityresolution.model.transform.IdMappingJobOutputSourceMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy