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

com.amazonaws.services.frauddetector.model.TrainingMetricsV2 Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Fraud Detector module holds the client classes that are used for communicating with Amazon Fraud Detector 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.frauddetector.model;

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

/**
 * 

* The training metrics details. *

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

* The Online Fraud Insights (OFI) model training metric details. *

*/ private OFITrainingMetricsValue ofi; /** *

* The Transaction Fraud Insights (TFI) model training metric details. *

*/ private TFITrainingMetricsValue tfi; /** *

* The Account Takeover Insights (ATI) model training metric details. *

*/ private ATITrainingMetricsValue ati; /** *

* The Online Fraud Insights (OFI) model training metric details. *

* * @param ofi * The Online Fraud Insights (OFI) model training metric details. */ public void setOfi(OFITrainingMetricsValue ofi) { this.ofi = ofi; } /** *

* The Online Fraud Insights (OFI) model training metric details. *

* * @return The Online Fraud Insights (OFI) model training metric details. */ public OFITrainingMetricsValue getOfi() { return this.ofi; } /** *

* The Online Fraud Insights (OFI) model training metric details. *

* * @param ofi * The Online Fraud Insights (OFI) model training metric details. * @return Returns a reference to this object so that method calls can be chained together. */ public TrainingMetricsV2 withOfi(OFITrainingMetricsValue ofi) { setOfi(ofi); return this; } /** *

* The Transaction Fraud Insights (TFI) model training metric details. *

* * @param tfi * The Transaction Fraud Insights (TFI) model training metric details. */ public void setTfi(TFITrainingMetricsValue tfi) { this.tfi = tfi; } /** *

* The Transaction Fraud Insights (TFI) model training metric details. *

* * @return The Transaction Fraud Insights (TFI) model training metric details. */ public TFITrainingMetricsValue getTfi() { return this.tfi; } /** *

* The Transaction Fraud Insights (TFI) model training metric details. *

* * @param tfi * The Transaction Fraud Insights (TFI) model training metric details. * @return Returns a reference to this object so that method calls can be chained together. */ public TrainingMetricsV2 withTfi(TFITrainingMetricsValue tfi) { setTfi(tfi); return this; } /** *

* The Account Takeover Insights (ATI) model training metric details. *

* * @param ati * The Account Takeover Insights (ATI) model training metric details. */ public void setAti(ATITrainingMetricsValue ati) { this.ati = ati; } /** *

* The Account Takeover Insights (ATI) model training metric details. *

* * @return The Account Takeover Insights (ATI) model training metric details. */ public ATITrainingMetricsValue getAti() { return this.ati; } /** *

* The Account Takeover Insights (ATI) model training metric details. *

* * @param ati * The Account Takeover Insights (ATI) model training metric details. * @return Returns a reference to this object so that method calls can be chained together. */ public TrainingMetricsV2 withAti(ATITrainingMetricsValue ati) { setAti(ati); 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 (getOfi() != null) sb.append("Ofi: ").append(getOfi()).append(","); if (getTfi() != null) sb.append("Tfi: ").append(getTfi()).append(","); if (getAti() != null) sb.append("Ati: ").append(getAti()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof TrainingMetricsV2 == false) return false; TrainingMetricsV2 other = (TrainingMetricsV2) obj; if (other.getOfi() == null ^ this.getOfi() == null) return false; if (other.getOfi() != null && other.getOfi().equals(this.getOfi()) == false) return false; if (other.getTfi() == null ^ this.getTfi() == null) return false; if (other.getTfi() != null && other.getTfi().equals(this.getTfi()) == false) return false; if (other.getAti() == null ^ this.getAti() == null) return false; if (other.getAti() != null && other.getAti().equals(this.getAti()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getOfi() == null) ? 0 : getOfi().hashCode()); hashCode = prime * hashCode + ((getTfi() == null) ? 0 : getTfi().hashCode()); hashCode = prime * hashCode + ((getAti() == null) ? 0 : getAti().hashCode()); return hashCode; } @Override public TrainingMetricsV2 clone() { try { return (TrainingMetricsV2) 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.frauddetector.model.transform.TrainingMetricsV2Marshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy