/* * 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.appfabric.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Contains information about an ingestion destination. *

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

* The Amazon Resource Name (ARN) of the ingestion destination. *

*/ private String arn; /** *

* The Amazon Resource Name (ARN) of the ingestion. *

*/ private String ingestionArn; /** *

* Contains information about how ingested data is processed. *

*/ private ProcessingConfiguration processingConfiguration; /** *

* Contains information about the destination of ingested data. *

*/ private DestinationConfiguration destinationConfiguration; /** *

* The state of the ingestion destination. *

*

* The following states are possible: *

* */ private String status; /** *

* The reason for the current status of the ingestion destination. *

*

* Only present when the status of ingestion destination is Failed. *

*/ private String statusReason; /** *

* The timestamp of when the ingestion destination was created. *

*/ private java.util.Date createdAt; /** *

* The timestamp of when the ingestion destination was last updated. *

*/ private java.util.Date updatedAt; /** *

* The Amazon Resource Name (ARN) of the ingestion destination. *

* * @param arn * The Amazon Resource Name (ARN) of the ingestion destination. */ public void setArn(String arn) { this.arn = arn; } /** *

* The Amazon Resource Name (ARN) of the ingestion destination. *

* * @return The Amazon Resource Name (ARN) of the ingestion destination. */ public String getArn() { return this.arn; } /** *

* The Amazon Resource Name (ARN) of the ingestion destination. *

* * @param arn * The Amazon Resource Name (ARN) of the ingestion destination. * @return Returns a reference to this object so that method calls can be chained together. */ public IngestionDestination withArn(String arn) { setArn(arn); return this; } /** *

* The Amazon Resource Name (ARN) of the ingestion. *

* * @param ingestionArn * The Amazon Resource Name (ARN) of the ingestion. */ public void setIngestionArn(String ingestionArn) { this.ingestionArn = ingestionArn; } /** *

* The Amazon Resource Name (ARN) of the ingestion. *

* * @return The Amazon Resource Name (ARN) of the ingestion. */ public String getIngestionArn() { return this.ingestionArn; } /** *

* The Amazon Resource Name (ARN) of the ingestion. *

* * @param ingestionArn * The Amazon Resource Name (ARN) of the ingestion. * @return Returns a reference to this object so that method calls can be chained together. */ public IngestionDestination withIngestionArn(String ingestionArn) { setIngestionArn(ingestionArn); return this; } /** *

* Contains information about how ingested data is processed. *

* * @param processingConfiguration * Contains information about how ingested data is processed. */ public void setProcessingConfiguration(ProcessingConfiguration processingConfiguration) { this.processingConfiguration = processingConfiguration; } /** *

* Contains information about how ingested data is processed. *

* * @return Contains information about how ingested data is processed. */ public ProcessingConfiguration getProcessingConfiguration() { return this.processingConfiguration; } /** *

* Contains information about how ingested data is processed. *

* * @param processingConfiguration * Contains information about how ingested data is processed. * @return Returns a reference to this object so that method calls can be chained together. */ public IngestionDestination withProcessingConfiguration(ProcessingConfiguration processingConfiguration) { setProcessingConfiguration(processingConfiguration); return this; } /** *

* Contains information about the destination of ingested data. *

* * @param destinationConfiguration * Contains information about the destination of ingested data. */ public void setDestinationConfiguration(DestinationConfiguration destinationConfiguration) { this.destinationConfiguration = destinationConfiguration; } /** *

* Contains information about the destination of ingested data. *

* * @return Contains information about the destination of ingested data. */ public DestinationConfiguration getDestinationConfiguration() { return this.destinationConfiguration; } /** *

* Contains information about the destination of ingested data. *

* * @param destinationConfiguration * Contains information about the destination of ingested data. * @return Returns a reference to this object so that method calls can be chained together. */ public IngestionDestination withDestinationConfiguration(DestinationConfiguration destinationConfiguration) { setDestinationConfiguration(destinationConfiguration); return this; } /** *

* The state of the ingestion destination. *

*

* The following states are possible: *

* * * @param status * The state of the ingestion destination.

*

* The following states are possible: *

*