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

com.amazonaws.services.timestreaminfluxdb.model.GetDbInstanceResult Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.778
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.timestreaminfluxdb.model;

import java.io.Serializable;
import javax.annotation.Generated;

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

    /**
     * 

* A service-generated unique identifier. *

*/ private String id; /** *

* The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream * for InfluxDB API and CLI commands. *

*/ private String name; /** *

* The Amazon Resource Name (ARN) of the DB instance. *

*/ private String arn; /** *

* The status of the DB instance. *

*/ private String status; /** *

* The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. *

*/ private String endpoint; /** *

* The Timestream for InfluxDB instance type that InfluxDB runs on. *

*/ private String dbInstanceType; /** *

* The Timestream for InfluxDB DB storage type that InfluxDB stores data on. *

*/ private String dbStorageType; /** *

* The amount of storage allocated for your DB storage type (in gibibytes). *

*/ private Integer allocatedStorage; /** *

* Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. *

*/ private String deploymentType; /** *

* A list of VPC subnet IDs associated with the DB instance. *

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

* Indicates if the DB instance has a public IP to facilitate access. *

*/ private Boolean publiclyAccessible; /** *

* A list of VPC security group IDs associated with the DB instance. *

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

* The id of the DB parameter group assigned to your DB instance. *

*/ private String dbParameterGroupIdentifier; /** *

* The Availability Zone in which the DB instance resides. *

*/ private String availabilityZone; /** *

* The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance. *

*/ private String secondaryAvailabilityZone; /** *

* Configuration for sending InfluxDB engine logs to send to specified S3 bucket. *

*/ private LogDeliveryConfiguration logDeliveryConfiguration; /** *

* The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization * parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: * organization, bucket, username, and password. *

*/ private String influxAuthParametersSecretArn; /** *

* A service-generated unique identifier. *

* * @param id * A service-generated unique identifier. */ public void setId(String id) { this.id = id; } /** *

* A service-generated unique identifier. *

* * @return A service-generated unique identifier. */ public String getId() { return this.id; } /** *

* A service-generated unique identifier. *

* * @param id * A service-generated unique identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withId(String id) { setId(id); return this; } /** *

* The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream * for InfluxDB API and CLI commands. *

* * @param name * The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon * Timestream for InfluxDB API and CLI commands. */ public void setName(String name) { this.name = name; } /** *

* The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream * for InfluxDB API and CLI commands. *

* * @return The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon * Timestream for InfluxDB API and CLI commands. */ public String getName() { return this.name; } /** *

* The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream * for InfluxDB API and CLI commands. *

* * @param name * The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon * Timestream for InfluxDB API and CLI commands. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withName(String name) { setName(name); return this; } /** *

* The Amazon Resource Name (ARN) of the DB instance. *

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

* The Amazon Resource Name (ARN) of the DB instance. *

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

* The Amazon Resource Name (ARN) of the DB instance. *

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

* The status of the DB instance. *

* * @param status * The status of the DB instance. * @see Status */ public void setStatus(String status) { this.status = status; } /** *

* The status of the DB instance. *

* * @return The status of the DB instance. * @see Status */ public String getStatus() { return this.status; } /** *

* The status of the DB instance. *

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

* The status of the DB instance. *

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

* The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. *

* * @param endpoint * The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. */ public void setEndpoint(String endpoint) { this.endpoint = endpoint; } /** *

* The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. *

* * @return The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. */ public String getEndpoint() { return this.endpoint; } /** *

* The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. *

* * @param endpoint * The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withEndpoint(String endpoint) { setEndpoint(endpoint); return this; } /** *

* The Timestream for InfluxDB instance type that InfluxDB runs on. *

* * @param dbInstanceType * The Timestream for InfluxDB instance type that InfluxDB runs on. * @see DbInstanceType */ public void setDbInstanceType(String dbInstanceType) { this.dbInstanceType = dbInstanceType; } /** *

* The Timestream for InfluxDB instance type that InfluxDB runs on. *

* * @return The Timestream for InfluxDB instance type that InfluxDB runs on. * @see DbInstanceType */ public String getDbInstanceType() { return this.dbInstanceType; } /** *

* The Timestream for InfluxDB instance type that InfluxDB runs on. *

* * @param dbInstanceType * The Timestream for InfluxDB instance type that InfluxDB runs on. * @return Returns a reference to this object so that method calls can be chained together. * @see DbInstanceType */ public GetDbInstanceResult withDbInstanceType(String dbInstanceType) { setDbInstanceType(dbInstanceType); return this; } /** *

* The Timestream for InfluxDB instance type that InfluxDB runs on. *

* * @param dbInstanceType * The Timestream for InfluxDB instance type that InfluxDB runs on. * @return Returns a reference to this object so that method calls can be chained together. * @see DbInstanceType */ public GetDbInstanceResult withDbInstanceType(DbInstanceType dbInstanceType) { this.dbInstanceType = dbInstanceType.toString(); return this; } /** *

* The Timestream for InfluxDB DB storage type that InfluxDB stores data on. *

* * @param dbStorageType * The Timestream for InfluxDB DB storage type that InfluxDB stores data on. * @see DbStorageType */ public void setDbStorageType(String dbStorageType) { this.dbStorageType = dbStorageType; } /** *

* The Timestream for InfluxDB DB storage type that InfluxDB stores data on. *

* * @return The Timestream for InfluxDB DB storage type that InfluxDB stores data on. * @see DbStorageType */ public String getDbStorageType() { return this.dbStorageType; } /** *

* The Timestream for InfluxDB DB storage type that InfluxDB stores data on. *

* * @param dbStorageType * The Timestream for InfluxDB DB storage type that InfluxDB stores data on. * @return Returns a reference to this object so that method calls can be chained together. * @see DbStorageType */ public GetDbInstanceResult withDbStorageType(String dbStorageType) { setDbStorageType(dbStorageType); return this; } /** *

* The Timestream for InfluxDB DB storage type that InfluxDB stores data on. *

* * @param dbStorageType * The Timestream for InfluxDB DB storage type that InfluxDB stores data on. * @return Returns a reference to this object so that method calls can be chained together. * @see DbStorageType */ public GetDbInstanceResult withDbStorageType(DbStorageType dbStorageType) { this.dbStorageType = dbStorageType.toString(); return this; } /** *

* The amount of storage allocated for your DB storage type (in gibibytes). *

* * @param allocatedStorage * The amount of storage allocated for your DB storage type (in gibibytes). */ public void setAllocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; } /** *

* The amount of storage allocated for your DB storage type (in gibibytes). *

* * @return The amount of storage allocated for your DB storage type (in gibibytes). */ public Integer getAllocatedStorage() { return this.allocatedStorage; } /** *

* The amount of storage allocated for your DB storage type (in gibibytes). *

* * @param allocatedStorage * The amount of storage allocated for your DB storage type (in gibibytes). * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withAllocatedStorage(Integer allocatedStorage) { setAllocatedStorage(allocatedStorage); return this; } /** *

* Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. *

* * @param deploymentType * Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. * @see DeploymentType */ public void setDeploymentType(String deploymentType) { this.deploymentType = deploymentType; } /** *

* Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. *

* * @return Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. * @see DeploymentType */ public String getDeploymentType() { return this.deploymentType; } /** *

* Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. *

* * @param deploymentType * Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. * @return Returns a reference to this object so that method calls can be chained together. * @see DeploymentType */ public GetDbInstanceResult withDeploymentType(String deploymentType) { setDeploymentType(deploymentType); return this; } /** *

* Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. *

* * @param deploymentType * Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High * availability. * @return Returns a reference to this object so that method calls can be chained together. * @see DeploymentType */ public GetDbInstanceResult withDeploymentType(DeploymentType deploymentType) { this.deploymentType = deploymentType.toString(); return this; } /** *

* A list of VPC subnet IDs associated with the DB instance. *

* * @return A list of VPC subnet IDs associated with the DB instance. */ public java.util.List getVpcSubnetIds() { return vpcSubnetIds; } /** *

* A list of VPC subnet IDs associated with the DB instance. *

* * @param vpcSubnetIds * A list of VPC subnet IDs associated with the DB instance. */ public void setVpcSubnetIds(java.util.Collection vpcSubnetIds) { if (vpcSubnetIds == null) { this.vpcSubnetIds = null; return; } this.vpcSubnetIds = new java.util.ArrayList(vpcSubnetIds); } /** *

* A list of VPC subnet IDs associated with the DB instance. *

*

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

* * @param vpcSubnetIds * A list of VPC subnet IDs associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withVpcSubnetIds(String... vpcSubnetIds) { if (this.vpcSubnetIds == null) { setVpcSubnetIds(new java.util.ArrayList(vpcSubnetIds.length)); } for (String ele : vpcSubnetIds) { this.vpcSubnetIds.add(ele); } return this; } /** *

* A list of VPC subnet IDs associated with the DB instance. *

* * @param vpcSubnetIds * A list of VPC subnet IDs associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withVpcSubnetIds(java.util.Collection vpcSubnetIds) { setVpcSubnetIds(vpcSubnetIds); return this; } /** *

* Indicates if the DB instance has a public IP to facilitate access. *

* * @param publiclyAccessible * Indicates if the DB instance has a public IP to facilitate access. */ public void setPubliclyAccessible(Boolean publiclyAccessible) { this.publiclyAccessible = publiclyAccessible; } /** *

* Indicates if the DB instance has a public IP to facilitate access. *

* * @return Indicates if the DB instance has a public IP to facilitate access. */ public Boolean getPubliclyAccessible() { return this.publiclyAccessible; } /** *

* Indicates if the DB instance has a public IP to facilitate access. *

* * @param publiclyAccessible * Indicates if the DB instance has a public IP to facilitate access. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withPubliclyAccessible(Boolean publiclyAccessible) { setPubliclyAccessible(publiclyAccessible); return this; } /** *

* Indicates if the DB instance has a public IP to facilitate access. *

* * @return Indicates if the DB instance has a public IP to facilitate access. */ public Boolean isPubliclyAccessible() { return this.publiclyAccessible; } /** *

* A list of VPC security group IDs associated with the DB instance. *

* * @return A list of VPC security group IDs associated with the DB instance. */ public java.util.List getVpcSecurityGroupIds() { return vpcSecurityGroupIds; } /** *

* A list of VPC security group IDs associated with the DB instance. *

* * @param vpcSecurityGroupIds * A list of VPC security group IDs associated with the DB instance. */ public void setVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) { if (vpcSecurityGroupIds == null) { this.vpcSecurityGroupIds = null; return; } this.vpcSecurityGroupIds = new java.util.ArrayList(vpcSecurityGroupIds); } /** *

* A list of VPC security group IDs associated with the DB instance. *

*

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

* * @param vpcSecurityGroupIds * A list of VPC security group IDs associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withVpcSecurityGroupIds(String... vpcSecurityGroupIds) { if (this.vpcSecurityGroupIds == null) { setVpcSecurityGroupIds(new java.util.ArrayList(vpcSecurityGroupIds.length)); } for (String ele : vpcSecurityGroupIds) { this.vpcSecurityGroupIds.add(ele); } return this; } /** *

* A list of VPC security group IDs associated with the DB instance. *

* * @param vpcSecurityGroupIds * A list of VPC security group IDs associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) { setVpcSecurityGroupIds(vpcSecurityGroupIds); return this; } /** *

* The id of the DB parameter group assigned to your DB instance. *

* * @param dbParameterGroupIdentifier * The id of the DB parameter group assigned to your DB instance. */ public void setDbParameterGroupIdentifier(String dbParameterGroupIdentifier) { this.dbParameterGroupIdentifier = dbParameterGroupIdentifier; } /** *

* The id of the DB parameter group assigned to your DB instance. *

* * @return The id of the DB parameter group assigned to your DB instance. */ public String getDbParameterGroupIdentifier() { return this.dbParameterGroupIdentifier; } /** *

* The id of the DB parameter group assigned to your DB instance. *

* * @param dbParameterGroupIdentifier * The id of the DB parameter group assigned to your DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withDbParameterGroupIdentifier(String dbParameterGroupIdentifier) { setDbParameterGroupIdentifier(dbParameterGroupIdentifier); return this; } /** *

* The Availability Zone in which the DB instance resides. *

* * @param availabilityZone * The Availability Zone in which the DB instance resides. */ public void setAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; } /** *

* The Availability Zone in which the DB instance resides. *

* * @return The Availability Zone in which the DB instance resides. */ public String getAvailabilityZone() { return this.availabilityZone; } /** *

* The Availability Zone in which the DB instance resides. *

* * @param availabilityZone * The Availability Zone in which the DB instance resides. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withAvailabilityZone(String availabilityZone) { setAvailabilityZone(availabilityZone); return this; } /** *

* The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance. *

* * @param secondaryAvailabilityZone * The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby * instance. */ public void setSecondaryAvailabilityZone(String secondaryAvailabilityZone) { this.secondaryAvailabilityZone = secondaryAvailabilityZone; } /** *

* The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance. *

* * @return The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby * instance. */ public String getSecondaryAvailabilityZone() { return this.secondaryAvailabilityZone; } /** *

* The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance. *

* * @param secondaryAvailabilityZone * The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby * instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withSecondaryAvailabilityZone(String secondaryAvailabilityZone) { setSecondaryAvailabilityZone(secondaryAvailabilityZone); return this; } /** *

* Configuration for sending InfluxDB engine logs to send to specified S3 bucket. *

* * @param logDeliveryConfiguration * Configuration for sending InfluxDB engine logs to send to specified S3 bucket. */ public void setLogDeliveryConfiguration(LogDeliveryConfiguration logDeliveryConfiguration) { this.logDeliveryConfiguration = logDeliveryConfiguration; } /** *

* Configuration for sending InfluxDB engine logs to send to specified S3 bucket. *

* * @return Configuration for sending InfluxDB engine logs to send to specified S3 bucket. */ public LogDeliveryConfiguration getLogDeliveryConfiguration() { return this.logDeliveryConfiguration; } /** *

* Configuration for sending InfluxDB engine logs to send to specified S3 bucket. *

* * @param logDeliveryConfiguration * Configuration for sending InfluxDB engine logs to send to specified S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withLogDeliveryConfiguration(LogDeliveryConfiguration logDeliveryConfiguration) { setLogDeliveryConfiguration(logDeliveryConfiguration); return this; } /** *

* The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization * parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: * organization, bucket, username, and password. *

* * @param influxAuthParametersSecretArn * The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB * authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB * authorization values: organization, bucket, username, and password. */ public void setInfluxAuthParametersSecretArn(String influxAuthParametersSecretArn) { this.influxAuthParametersSecretArn = influxAuthParametersSecretArn; } /** *

* The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization * parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: * organization, bucket, username, and password. *

* * @return The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB * authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB * authorization values: organization, bucket, username, and password. */ public String getInfluxAuthParametersSecretArn() { return this.influxAuthParametersSecretArn; } /** *

* The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization * parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: * organization, bucket, username, and password. *

* * @param influxAuthParametersSecretArn * The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB * authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB * authorization values: organization, bucket, username, and password. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDbInstanceResult withInfluxAuthParametersSecretArn(String influxAuthParametersSecretArn) { setInfluxAuthParametersSecretArn(influxAuthParametersSecretArn); 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 (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getEndpoint() != null) sb.append("Endpoint: ").append(getEndpoint()).append(","); if (getDbInstanceType() != null) sb.append("DbInstanceType: ").append(getDbInstanceType()).append(","); if (getDbStorageType() != null) sb.append("DbStorageType: ").append(getDbStorageType()).append(","); if (getAllocatedStorage() != null) sb.append("AllocatedStorage: ").append(getAllocatedStorage()).append(","); if (getDeploymentType() != null) sb.append("DeploymentType: ").append(getDeploymentType()).append(","); if (getVpcSubnetIds() != null) sb.append("VpcSubnetIds: ").append(getVpcSubnetIds()).append(","); if (getPubliclyAccessible() != null) sb.append("PubliclyAccessible: ").append(getPubliclyAccessible()).append(","); if (getVpcSecurityGroupIds() != null) sb.append("VpcSecurityGroupIds: ").append(getVpcSecurityGroupIds()).append(","); if (getDbParameterGroupIdentifier() != null) sb.append("DbParameterGroupIdentifier: ").append(getDbParameterGroupIdentifier()).append(","); if (getAvailabilityZone() != null) sb.append("AvailabilityZone: ").append(getAvailabilityZone()).append(","); if (getSecondaryAvailabilityZone() != null) sb.append("SecondaryAvailabilityZone: ").append(getSecondaryAvailabilityZone()).append(","); if (getLogDeliveryConfiguration() != null) sb.append("LogDeliveryConfiguration: ").append(getLogDeliveryConfiguration()).append(","); if (getInfluxAuthParametersSecretArn() != null) sb.append("InfluxAuthParametersSecretArn: ").append(getInfluxAuthParametersSecretArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetDbInstanceResult == false) return false; GetDbInstanceResult other = (GetDbInstanceResult) obj; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == 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.getEndpoint() == null ^ this.getEndpoint() == null) return false; if (other.getEndpoint() != null && other.getEndpoint().equals(this.getEndpoint()) == false) return false; if (other.getDbInstanceType() == null ^ this.getDbInstanceType() == null) return false; if (other.getDbInstanceType() != null && other.getDbInstanceType().equals(this.getDbInstanceType()) == false) return false; if (other.getDbStorageType() == null ^ this.getDbStorageType() == null) return false; if (other.getDbStorageType() != null && other.getDbStorageType().equals(this.getDbStorageType()) == false) return false; if (other.getAllocatedStorage() == null ^ this.getAllocatedStorage() == null) return false; if (other.getAllocatedStorage() != null && other.getAllocatedStorage().equals(this.getAllocatedStorage()) == false) return false; if (other.getDeploymentType() == null ^ this.getDeploymentType() == null) return false; if (other.getDeploymentType() != null && other.getDeploymentType().equals(this.getDeploymentType()) == false) return false; if (other.getVpcSubnetIds() == null ^ this.getVpcSubnetIds() == null) return false; if (other.getVpcSubnetIds() != null && other.getVpcSubnetIds().equals(this.getVpcSubnetIds()) == false) return false; if (other.getPubliclyAccessible() == null ^ this.getPubliclyAccessible() == null) return false; if (other.getPubliclyAccessible() != null && other.getPubliclyAccessible().equals(this.getPubliclyAccessible()) == false) return false; if (other.getVpcSecurityGroupIds() == null ^ this.getVpcSecurityGroupIds() == null) return false; if (other.getVpcSecurityGroupIds() != null && other.getVpcSecurityGroupIds().equals(this.getVpcSecurityGroupIds()) == false) return false; if (other.getDbParameterGroupIdentifier() == null ^ this.getDbParameterGroupIdentifier() == null) return false; if (other.getDbParameterGroupIdentifier() != null && other.getDbParameterGroupIdentifier().equals(this.getDbParameterGroupIdentifier()) == false) return false; if (other.getAvailabilityZone() == null ^ this.getAvailabilityZone() == null) return false; if (other.getAvailabilityZone() != null && other.getAvailabilityZone().equals(this.getAvailabilityZone()) == false) return false; if (other.getSecondaryAvailabilityZone() == null ^ this.getSecondaryAvailabilityZone() == null) return false; if (other.getSecondaryAvailabilityZone() != null && other.getSecondaryAvailabilityZone().equals(this.getSecondaryAvailabilityZone()) == false) return false; if (other.getLogDeliveryConfiguration() == null ^ this.getLogDeliveryConfiguration() == null) return false; if (other.getLogDeliveryConfiguration() != null && other.getLogDeliveryConfiguration().equals(this.getLogDeliveryConfiguration()) == false) return false; if (other.getInfluxAuthParametersSecretArn() == null ^ this.getInfluxAuthParametersSecretArn() == null) return false; if (other.getInfluxAuthParametersSecretArn() != null && other.getInfluxAuthParametersSecretArn().equals(this.getInfluxAuthParametersSecretArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getEndpoint() == null) ? 0 : getEndpoint().hashCode()); hashCode = prime * hashCode + ((getDbInstanceType() == null) ? 0 : getDbInstanceType().hashCode()); hashCode = prime * hashCode + ((getDbStorageType() == null) ? 0 : getDbStorageType().hashCode()); hashCode = prime * hashCode + ((getAllocatedStorage() == null) ? 0 : getAllocatedStorage().hashCode()); hashCode = prime * hashCode + ((getDeploymentType() == null) ? 0 : getDeploymentType().hashCode()); hashCode = prime * hashCode + ((getVpcSubnetIds() == null) ? 0 : getVpcSubnetIds().hashCode()); hashCode = prime * hashCode + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode()); hashCode = prime * hashCode + ((getVpcSecurityGroupIds() == null) ? 0 : getVpcSecurityGroupIds().hashCode()); hashCode = prime * hashCode + ((getDbParameterGroupIdentifier() == null) ? 0 : getDbParameterGroupIdentifier().hashCode()); hashCode = prime * hashCode + ((getAvailabilityZone() == null) ? 0 : getAvailabilityZone().hashCode()); hashCode = prime * hashCode + ((getSecondaryAvailabilityZone() == null) ? 0 : getSecondaryAvailabilityZone().hashCode()); hashCode = prime * hashCode + ((getLogDeliveryConfiguration() == null) ? 0 : getLogDeliveryConfiguration().hashCode()); hashCode = prime * hashCode + ((getInfluxAuthParametersSecretArn() == null) ? 0 : getInfluxAuthParametersSecretArn().hashCode()); return hashCode; } @Override public GetDbInstanceResult clone() { try { return (GetDbInstanceResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy