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

com.amazonaws.services.osis.model.Pipeline Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.772
Show 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.osis.model;

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

/**
 * 

* Information about an existing OpenSearch Ingestion pipeline. *

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

* The name of the pipeline. *

*/ private String pipelineName; /** *

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

*/ private String pipelineArn; /** *

* The minimum pipeline capacity, in Ingestion Compute Units (ICUs). *

*/ private Integer minUnits; /** *

* The maximum pipeline capacity, in Ingestion Compute Units (ICUs). *

*/ private Integer maxUnits; /** *

* The current status of the pipeline. *

*/ private String status; /** *

* The reason for the current status of the pipeline. *

*/ private PipelineStatusReason statusReason; /** *

* The Data Prepper pipeline configuration in YAML format. *

*/ private String pipelineConfigurationBody; /** *

* The date and time when the pipeline was created. *

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

* The date and time when the pipeline was last updated. *

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

* The ingestion endpoints for the pipeline, which you can send data to. *

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

* Key-value pairs that represent log publishing settings. *

*/ private LogPublishingOptions logPublishingOptions; /** *

* The VPC interface endpoints that have access to the pipeline. *

*/ private java.util.List vpcEndpoints; private BufferOptions bufferOptions; private EncryptionAtRestOptions encryptionAtRestOptions; /** *

* The VPC endpoint service name for the pipeline. *

*/ private String vpcEndpointService; /** *

* A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. *

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

* Destinations to which the pipeline writes data. *

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

* A list of tags associated with the given pipeline. *

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

* The name of the pipeline. *

* * @param pipelineName * The name of the pipeline. */ public void setPipelineName(String pipelineName) { this.pipelineName = pipelineName; } /** *

* The name of the pipeline. *

* * @return The name of the pipeline. */ public String getPipelineName() { return this.pipelineName; } /** *

* The name of the pipeline. *

* * @param pipelineName * The name of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withPipelineName(String pipelineName) { setPipelineName(pipelineName); return this; } /** *

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

* * @param pipelineArn * The Amazon Resource Name (ARN) of the pipeline. */ public void setPipelineArn(String pipelineArn) { this.pipelineArn = pipelineArn; } /** *

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

* * @return The Amazon Resource Name (ARN) of the pipeline. */ public String getPipelineArn() { return this.pipelineArn; } /** *

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

* * @param pipelineArn * The Amazon Resource Name (ARN) of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withPipelineArn(String pipelineArn) { setPipelineArn(pipelineArn); return this; } /** *

* The minimum pipeline capacity, in Ingestion Compute Units (ICUs). *

* * @param minUnits * The minimum pipeline capacity, in Ingestion Compute Units (ICUs). */ public void setMinUnits(Integer minUnits) { this.minUnits = minUnits; } /** *

* The minimum pipeline capacity, in Ingestion Compute Units (ICUs). *

* * @return The minimum pipeline capacity, in Ingestion Compute Units (ICUs). */ public Integer getMinUnits() { return this.minUnits; } /** *

* The minimum pipeline capacity, in Ingestion Compute Units (ICUs). *

* * @param minUnits * The minimum pipeline capacity, in Ingestion Compute Units (ICUs). * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withMinUnits(Integer minUnits) { setMinUnits(minUnits); return this; } /** *

* The maximum pipeline capacity, in Ingestion Compute Units (ICUs). *

* * @param maxUnits * The maximum pipeline capacity, in Ingestion Compute Units (ICUs). */ public void setMaxUnits(Integer maxUnits) { this.maxUnits = maxUnits; } /** *

* The maximum pipeline capacity, in Ingestion Compute Units (ICUs). *

* * @return The maximum pipeline capacity, in Ingestion Compute Units (ICUs). */ public Integer getMaxUnits() { return this.maxUnits; } /** *

* The maximum pipeline capacity, in Ingestion Compute Units (ICUs). *

* * @param maxUnits * The maximum pipeline capacity, in Ingestion Compute Units (ICUs). * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withMaxUnits(Integer maxUnits) { setMaxUnits(maxUnits); return this; } /** *

* The current status of the pipeline. *

* * @param status * The current status of the pipeline. * @see PipelineStatus */ public void setStatus(String status) { this.status = status; } /** *

* The current status of the pipeline. *

* * @return The current status of the pipeline. * @see PipelineStatus */ public String getStatus() { return this.status; } /** *

* The current status of the pipeline. *

* * @param status * The current status of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. * @see PipelineStatus */ public Pipeline withStatus(String status) { setStatus(status); return this; } /** *

* The current status of the pipeline. *

* * @param status * The current status of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. * @see PipelineStatus */ public Pipeline withStatus(PipelineStatus status) { this.status = status.toString(); return this; } /** *

* The reason for the current status of the pipeline. *

* * @param statusReason * The reason for the current status of the pipeline. */ public void setStatusReason(PipelineStatusReason statusReason) { this.statusReason = statusReason; } /** *

* The reason for the current status of the pipeline. *

* * @return The reason for the current status of the pipeline. */ public PipelineStatusReason getStatusReason() { return this.statusReason; } /** *

* The reason for the current status of the pipeline. *

* * @param statusReason * The reason for the current status of the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withStatusReason(PipelineStatusReason statusReason) { setStatusReason(statusReason); return this; } /** *

* The Data Prepper pipeline configuration in YAML format. *

* * @param pipelineConfigurationBody * The Data Prepper pipeline configuration in YAML format. */ public void setPipelineConfigurationBody(String pipelineConfigurationBody) { this.pipelineConfigurationBody = pipelineConfigurationBody; } /** *

* The Data Prepper pipeline configuration in YAML format. *

* * @return The Data Prepper pipeline configuration in YAML format. */ public String getPipelineConfigurationBody() { return this.pipelineConfigurationBody; } /** *

* The Data Prepper pipeline configuration in YAML format. *

* * @param pipelineConfigurationBody * The Data Prepper pipeline configuration in YAML format. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withPipelineConfigurationBody(String pipelineConfigurationBody) { setPipelineConfigurationBody(pipelineConfigurationBody); return this; } /** *

* The date and time when the pipeline was created. *

* * @param createdAt * The date and time when the pipeline was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** *

* The date and time when the pipeline was created. *

* * @return The date and time when the pipeline was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** *

* The date and time when the pipeline was created. *

* * @param createdAt * The date and time when the pipeline was created. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** *

* The date and time when the pipeline was last updated. *

* * @param lastUpdatedAt * The date and time when the pipeline was last updated. */ public void setLastUpdatedAt(java.util.Date lastUpdatedAt) { this.lastUpdatedAt = lastUpdatedAt; } /** *

* The date and time when the pipeline was last updated. *

* * @return The date and time when the pipeline was last updated. */ public java.util.Date getLastUpdatedAt() { return this.lastUpdatedAt; } /** *

* The date and time when the pipeline was last updated. *

* * @param lastUpdatedAt * The date and time when the pipeline was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withLastUpdatedAt(java.util.Date lastUpdatedAt) { setLastUpdatedAt(lastUpdatedAt); return this; } /** *

* The ingestion endpoints for the pipeline, which you can send data to. *

* * @return The ingestion endpoints for the pipeline, which you can send data to. */ public java.util.List getIngestEndpointUrls() { return ingestEndpointUrls; } /** *

* The ingestion endpoints for the pipeline, which you can send data to. *

* * @param ingestEndpointUrls * The ingestion endpoints for the pipeline, which you can send data to. */ public void setIngestEndpointUrls(java.util.Collection ingestEndpointUrls) { if (ingestEndpointUrls == null) { this.ingestEndpointUrls = null; return; } this.ingestEndpointUrls = new java.util.ArrayList(ingestEndpointUrls); } /** *

* The ingestion endpoints for the pipeline, which you can send data to. *

*

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

* * @param ingestEndpointUrls * The ingestion endpoints for the pipeline, which you can send data to. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withIngestEndpointUrls(String... ingestEndpointUrls) { if (this.ingestEndpointUrls == null) { setIngestEndpointUrls(new java.util.ArrayList(ingestEndpointUrls.length)); } for (String ele : ingestEndpointUrls) { this.ingestEndpointUrls.add(ele); } return this; } /** *

* The ingestion endpoints for the pipeline, which you can send data to. *

* * @param ingestEndpointUrls * The ingestion endpoints for the pipeline, which you can send data to. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withIngestEndpointUrls(java.util.Collection ingestEndpointUrls) { setIngestEndpointUrls(ingestEndpointUrls); return this; } /** *

* Key-value pairs that represent log publishing settings. *

* * @param logPublishingOptions * Key-value pairs that represent log publishing settings. */ public void setLogPublishingOptions(LogPublishingOptions logPublishingOptions) { this.logPublishingOptions = logPublishingOptions; } /** *

* Key-value pairs that represent log publishing settings. *

* * @return Key-value pairs that represent log publishing settings. */ public LogPublishingOptions getLogPublishingOptions() { return this.logPublishingOptions; } /** *

* Key-value pairs that represent log publishing settings. *

* * @param logPublishingOptions * Key-value pairs that represent log publishing settings. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withLogPublishingOptions(LogPublishingOptions logPublishingOptions) { setLogPublishingOptions(logPublishingOptions); return this; } /** *

* The VPC interface endpoints that have access to the pipeline. *

* * @return The VPC interface endpoints that have access to the pipeline. */ public java.util.List getVpcEndpoints() { return vpcEndpoints; } /** *

* The VPC interface endpoints that have access to the pipeline. *

* * @param vpcEndpoints * The VPC interface endpoints that have access to the pipeline. */ public void setVpcEndpoints(java.util.Collection vpcEndpoints) { if (vpcEndpoints == null) { this.vpcEndpoints = null; return; } this.vpcEndpoints = new java.util.ArrayList(vpcEndpoints); } /** *

* The VPC interface endpoints that have access to the pipeline. *

*

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

* * @param vpcEndpoints * The VPC interface endpoints that have access to the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withVpcEndpoints(VpcEndpoint... vpcEndpoints) { if (this.vpcEndpoints == null) { setVpcEndpoints(new java.util.ArrayList(vpcEndpoints.length)); } for (VpcEndpoint ele : vpcEndpoints) { this.vpcEndpoints.add(ele); } return this; } /** *

* The VPC interface endpoints that have access to the pipeline. *

* * @param vpcEndpoints * The VPC interface endpoints that have access to the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withVpcEndpoints(java.util.Collection vpcEndpoints) { setVpcEndpoints(vpcEndpoints); return this; } /** * @param bufferOptions */ public void setBufferOptions(BufferOptions bufferOptions) { this.bufferOptions = bufferOptions; } /** * @return */ public BufferOptions getBufferOptions() { return this.bufferOptions; } /** * @param bufferOptions * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withBufferOptions(BufferOptions bufferOptions) { setBufferOptions(bufferOptions); return this; } /** * @param encryptionAtRestOptions */ public void setEncryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions) { this.encryptionAtRestOptions = encryptionAtRestOptions; } /** * @return */ public EncryptionAtRestOptions getEncryptionAtRestOptions() { return this.encryptionAtRestOptions; } /** * @param encryptionAtRestOptions * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withEncryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions) { setEncryptionAtRestOptions(encryptionAtRestOptions); return this; } /** *

* The VPC endpoint service name for the pipeline. *

* * @param vpcEndpointService * The VPC endpoint service name for the pipeline. */ public void setVpcEndpointService(String vpcEndpointService) { this.vpcEndpointService = vpcEndpointService; } /** *

* The VPC endpoint service name for the pipeline. *

* * @return The VPC endpoint service name for the pipeline. */ public String getVpcEndpointService() { return this.vpcEndpointService; } /** *

* The VPC endpoint service name for the pipeline. *

* * @param vpcEndpointService * The VPC endpoint service name for the pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withVpcEndpointService(String vpcEndpointService) { setVpcEndpointService(vpcEndpointService); return this; } /** *

* A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. *

* * @return A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. */ public java.util.List getServiceVpcEndpoints() { return serviceVpcEndpoints; } /** *

* A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. *

* * @param serviceVpcEndpoints * A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. */ public void setServiceVpcEndpoints(java.util.Collection serviceVpcEndpoints) { if (serviceVpcEndpoints == null) { this.serviceVpcEndpoints = null; return; } this.serviceVpcEndpoints = new java.util.ArrayList(serviceVpcEndpoints); } /** *

* A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. *

*

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

* * @param serviceVpcEndpoints * A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withServiceVpcEndpoints(ServiceVpcEndpoint... serviceVpcEndpoints) { if (this.serviceVpcEndpoints == null) { setServiceVpcEndpoints(new java.util.ArrayList(serviceVpcEndpoints.length)); } for (ServiceVpcEndpoint ele : serviceVpcEndpoints) { this.serviceVpcEndpoints.add(ele); } return this; } /** *

* A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. *

* * @param serviceVpcEndpoints * A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withServiceVpcEndpoints(java.util.Collection serviceVpcEndpoints) { setServiceVpcEndpoints(serviceVpcEndpoints); return this; } /** *

* Destinations to which the pipeline writes data. *

* * @return Destinations to which the pipeline writes data. */ public java.util.List getDestinations() { return destinations; } /** *

* Destinations to which the pipeline writes data. *

* * @param destinations * Destinations to which the pipeline writes data. */ public void setDestinations(java.util.Collection destinations) { if (destinations == null) { this.destinations = null; return; } this.destinations = new java.util.ArrayList(destinations); } /** *

* Destinations to which the pipeline writes data. *

*

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

* * @param destinations * Destinations to which the pipeline writes data. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withDestinations(PipelineDestination... destinations) { if (this.destinations == null) { setDestinations(new java.util.ArrayList(destinations.length)); } for (PipelineDestination ele : destinations) { this.destinations.add(ele); } return this; } /** *

* Destinations to which the pipeline writes data. *

* * @param destinations * Destinations to which the pipeline writes data. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withDestinations(java.util.Collection destinations) { setDestinations(destinations); return this; } /** *

* A list of tags associated with the given pipeline. *

* * @return A list of tags associated with the given pipeline. */ public java.util.List getTags() { return tags; } /** *

* A list of tags associated with the given pipeline. *

* * @param tags * A list of tags associated with the given pipeline. */ public void setTags(java.util.Collection tags) { if (tags == null) { this.tags = null; return; } this.tags = new java.util.ArrayList(tags); } /** *

* A list of tags associated with the given pipeline. *

*

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

* * @param tags * A list of tags associated with the given pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; } /** *

* A list of tags associated with the given pipeline. *

* * @param tags * A list of tags associated with the given pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public Pipeline withTags(java.util.Collection tags) { setTags(tags); 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 (getPipelineName() != null) sb.append("PipelineName: ").append(getPipelineName()).append(","); if (getPipelineArn() != null) sb.append("PipelineArn: ").append(getPipelineArn()).append(","); if (getMinUnits() != null) sb.append("MinUnits: ").append(getMinUnits()).append(","); if (getMaxUnits() != null) sb.append("MaxUnits: ").append(getMaxUnits()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getStatusReason() != null) sb.append("StatusReason: ").append(getStatusReason()).append(","); if (getPipelineConfigurationBody() != null) sb.append("PipelineConfigurationBody: ").append(getPipelineConfigurationBody()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getLastUpdatedAt() != null) sb.append("LastUpdatedAt: ").append(getLastUpdatedAt()).append(","); if (getIngestEndpointUrls() != null) sb.append("IngestEndpointUrls: ").append(getIngestEndpointUrls()).append(","); if (getLogPublishingOptions() != null) sb.append("LogPublishingOptions: ").append(getLogPublishingOptions()).append(","); if (getVpcEndpoints() != null) sb.append("VpcEndpoints: ").append(getVpcEndpoints()).append(","); if (getBufferOptions() != null) sb.append("BufferOptions: ").append(getBufferOptions()).append(","); if (getEncryptionAtRestOptions() != null) sb.append("EncryptionAtRestOptions: ").append(getEncryptionAtRestOptions()).append(","); if (getVpcEndpointService() != null) sb.append("VpcEndpointService: ").append(getVpcEndpointService()).append(","); if (getServiceVpcEndpoints() != null) sb.append("ServiceVpcEndpoints: ").append(getServiceVpcEndpoints()).append(","); if (getDestinations() != null) sb.append("Destinations: ").append(getDestinations()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Pipeline == false) return false; Pipeline other = (Pipeline) obj; if (other.getPipelineName() == null ^ this.getPipelineName() == null) return false; if (other.getPipelineName() != null && other.getPipelineName().equals(this.getPipelineName()) == false) return false; if (other.getPipelineArn() == null ^ this.getPipelineArn() == null) return false; if (other.getPipelineArn() != null && other.getPipelineArn().equals(this.getPipelineArn()) == false) return false; if (other.getMinUnits() == null ^ this.getMinUnits() == null) return false; if (other.getMinUnits() != null && other.getMinUnits().equals(this.getMinUnits()) == false) return false; if (other.getMaxUnits() == null ^ this.getMaxUnits() == null) return false; if (other.getMaxUnits() != null && other.getMaxUnits().equals(this.getMaxUnits()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getStatusReason() == null ^ this.getStatusReason() == null) return false; if (other.getStatusReason() != null && other.getStatusReason().equals(this.getStatusReason()) == false) return false; if (other.getPipelineConfigurationBody() == null ^ this.getPipelineConfigurationBody() == null) return false; if (other.getPipelineConfigurationBody() != null && other.getPipelineConfigurationBody().equals(this.getPipelineConfigurationBody()) == false) return false; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; if (other.getLastUpdatedAt() == null ^ this.getLastUpdatedAt() == null) return false; if (other.getLastUpdatedAt() != null && other.getLastUpdatedAt().equals(this.getLastUpdatedAt()) == false) return false; if (other.getIngestEndpointUrls() == null ^ this.getIngestEndpointUrls() == null) return false; if (other.getIngestEndpointUrls() != null && other.getIngestEndpointUrls().equals(this.getIngestEndpointUrls()) == false) return false; if (other.getLogPublishingOptions() == null ^ this.getLogPublishingOptions() == null) return false; if (other.getLogPublishingOptions() != null && other.getLogPublishingOptions().equals(this.getLogPublishingOptions()) == false) return false; if (other.getVpcEndpoints() == null ^ this.getVpcEndpoints() == null) return false; if (other.getVpcEndpoints() != null && other.getVpcEndpoints().equals(this.getVpcEndpoints()) == false) return false; if (other.getBufferOptions() == null ^ this.getBufferOptions() == null) return false; if (other.getBufferOptions() != null && other.getBufferOptions().equals(this.getBufferOptions()) == false) return false; if (other.getEncryptionAtRestOptions() == null ^ this.getEncryptionAtRestOptions() == null) return false; if (other.getEncryptionAtRestOptions() != null && other.getEncryptionAtRestOptions().equals(this.getEncryptionAtRestOptions()) == false) return false; if (other.getVpcEndpointService() == null ^ this.getVpcEndpointService() == null) return false; if (other.getVpcEndpointService() != null && other.getVpcEndpointService().equals(this.getVpcEndpointService()) == false) return false; if (other.getServiceVpcEndpoints() == null ^ this.getServiceVpcEndpoints() == null) return false; if (other.getServiceVpcEndpoints() != null && other.getServiceVpcEndpoints().equals(this.getServiceVpcEndpoints()) == false) return false; if (other.getDestinations() == null ^ this.getDestinations() == null) return false; if (other.getDestinations() != null && other.getDestinations().equals(this.getDestinations()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPipelineName() == null) ? 0 : getPipelineName().hashCode()); hashCode = prime * hashCode + ((getPipelineArn() == null) ? 0 : getPipelineArn().hashCode()); hashCode = prime * hashCode + ((getMinUnits() == null) ? 0 : getMinUnits().hashCode()); hashCode = prime * hashCode + ((getMaxUnits() == null) ? 0 : getMaxUnits().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getStatusReason() == null) ? 0 : getStatusReason().hashCode()); hashCode = prime * hashCode + ((getPipelineConfigurationBody() == null) ? 0 : getPipelineConfigurationBody().hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getIngestEndpointUrls() == null) ? 0 : getIngestEndpointUrls().hashCode()); hashCode = prime * hashCode + ((getLogPublishingOptions() == null) ? 0 : getLogPublishingOptions().hashCode()); hashCode = prime * hashCode + ((getVpcEndpoints() == null) ? 0 : getVpcEndpoints().hashCode()); hashCode = prime * hashCode + ((getBufferOptions() == null) ? 0 : getBufferOptions().hashCode()); hashCode = prime * hashCode + ((getEncryptionAtRestOptions() == null) ? 0 : getEncryptionAtRestOptions().hashCode()); hashCode = prime * hashCode + ((getVpcEndpointService() == null) ? 0 : getVpcEndpointService().hashCode()); hashCode = prime * hashCode + ((getServiceVpcEndpoints() == null) ? 0 : getServiceVpcEndpoints().hashCode()); hashCode = prime * hashCode + ((getDestinations() == null) ? 0 : getDestinations().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @Override public Pipeline clone() { try { return (Pipeline) 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.osis.model.transform.PipelineMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy