/* * 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.voiceid.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains all the information about a fraudster. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Fraudster implements Serializable, Cloneable, StructuredPojo { /** ** The timestamp of when Voice ID identified the fraudster. *
*/ private java.util.Date createdAt; /** ** The identifier of the domain that contains the fraudster. *
*/ private String domainId; /** ** The service-generated identifier for the fraudster. *
*/ private String generatedFraudsterId; /** ** The identifier of the watchlists the fraudster is a part of. *
*/ private java.util.List* The timestamp of when Voice ID identified the fraudster. *
* * @param createdAt * The timestamp of when Voice ID identified the fraudster. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The timestamp of when Voice ID identified the fraudster. *
* * @return The timestamp of when Voice ID identified the fraudster. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The timestamp of when Voice ID identified the fraudster. *
* * @param createdAt * The timestamp of when Voice ID identified the fraudster. * @return Returns a reference to this object so that method calls can be chained together. */ public Fraudster withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** The identifier of the domain that contains the fraudster. *
* * @param domainId * The identifier of the domain that contains the fraudster. */ public void setDomainId(String domainId) { this.domainId = domainId; } /** ** The identifier of the domain that contains the fraudster. *
* * @return The identifier of the domain that contains the fraudster. */ public String getDomainId() { return this.domainId; } /** ** The identifier of the domain that contains the fraudster. *
* * @param domainId * The identifier of the domain that contains the fraudster. * @return Returns a reference to this object so that method calls can be chained together. */ public Fraudster withDomainId(String domainId) { setDomainId(domainId); return this; } /** ** The service-generated identifier for the fraudster. *
* * @param generatedFraudsterId * The service-generated identifier for the fraudster. */ public void setGeneratedFraudsterId(String generatedFraudsterId) { this.generatedFraudsterId = generatedFraudsterId; } /** ** The service-generated identifier for the fraudster. *
* * @return The service-generated identifier for the fraudster. */ public String getGeneratedFraudsterId() { return this.generatedFraudsterId; } /** ** The service-generated identifier for the fraudster. *
* * @param generatedFraudsterId * The service-generated identifier for the fraudster. * @return Returns a reference to this object so that method calls can be chained together. */ public Fraudster withGeneratedFraudsterId(String generatedFraudsterId) { setGeneratedFraudsterId(generatedFraudsterId); return this; } /** ** The identifier of the watchlists the fraudster is a part of. *
* * @return The identifier of the watchlists the fraudster is a part of. */ public java.util.List* The identifier of the watchlists the fraudster is a part of. *
* * @param watchlistIds * The identifier of the watchlists the fraudster is a part of. */ public void setWatchlistIds(java.util.Collection* The identifier of the watchlists the fraudster is a part of. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setWatchlistIds(java.util.Collection)} or {@link #withWatchlistIds(java.util.Collection)} if you want to * override the existing values. *
* * @param watchlistIds * The identifier of the watchlists the fraudster is a part of. * @return Returns a reference to this object so that method calls can be chained together. */ public Fraudster withWatchlistIds(String... watchlistIds) { if (this.watchlistIds == null) { setWatchlistIds(new java.util.ArrayList* The identifier of the watchlists the fraudster is a part of. *
* * @param watchlistIds * The identifier of the watchlists the fraudster is a part of. * @return Returns a reference to this object so that method calls can be chained together. */ public Fraudster withWatchlistIds(java.util.Collection