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

com.amazonaws.services.devicefarm.model.UpdateVPCEConfigurationRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Device Farm module holds the client classes that are used for communicating with AWS Device Farm

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.devicefarm.model;

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

import com.amazonaws.AmazonWebServiceRequest;

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

    /**
     * 

* The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update. *

*/ private String arn; /** *

* The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. *

*/ private String vpceConfigurationName; /** *

* The name of the VPC endpoint service running in your AWS account that you want Device Farm to test. *

*/ private String vpceServiceName; /** *

* The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already be in * use on the internet. *

*/ private String serviceDnsName; /** *

* An optional description that provides details about your VPC endpoint configuration. *

*/ private String vpceConfigurationDescription; /** *

* The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update. *

* * @param arn * The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update. */ public void setArn(String arn) { this.arn = arn; } /** *

* The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update. *

* * @return The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update. */ public String getArn() { return this.arn; } /** *

* The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update. *

* * @param arn * The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVPCEConfigurationRequest withArn(String arn) { setArn(arn); return this; } /** *

* The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. *

* * @param vpceConfigurationName * The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. */ public void setVpceConfigurationName(String vpceConfigurationName) { this.vpceConfigurationName = vpceConfigurationName; } /** *

* The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. *

* * @return The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. */ public String getVpceConfigurationName() { return this.vpceConfigurationName; } /** *

* The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. *

* * @param vpceConfigurationName * The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVPCEConfigurationRequest withVpceConfigurationName(String vpceConfigurationName) { setVpceConfigurationName(vpceConfigurationName); return this; } /** *

* The name of the VPC endpoint service running in your AWS account that you want Device Farm to test. *

* * @param vpceServiceName * The name of the VPC endpoint service running in your AWS account that you want Device Farm to test. */ public void setVpceServiceName(String vpceServiceName) { this.vpceServiceName = vpceServiceName; } /** *

* The name of the VPC endpoint service running in your AWS account that you want Device Farm to test. *

* * @return The name of the VPC endpoint service running in your AWS account that you want Device Farm to test. */ public String getVpceServiceName() { return this.vpceServiceName; } /** *

* The name of the VPC endpoint service running in your AWS account that you want Device Farm to test. *

* * @param vpceServiceName * The name of the VPC endpoint service running in your AWS account that you want Device Farm to test. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVPCEConfigurationRequest withVpceServiceName(String vpceServiceName) { setVpceServiceName(vpceServiceName); return this; } /** *

* The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already be in * use on the internet. *

* * @param serviceDnsName * The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already * be in use on the internet. */ public void setServiceDnsName(String serviceDnsName) { this.serviceDnsName = serviceDnsName; } /** *

* The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already be in * use on the internet. *

* * @return The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already * be in use on the internet. */ public String getServiceDnsName() { return this.serviceDnsName; } /** *

* The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already be in * use on the internet. *

* * @param serviceDnsName * The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already * be in use on the internet. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVPCEConfigurationRequest withServiceDnsName(String serviceDnsName) { setServiceDnsName(serviceDnsName); return this; } /** *

* An optional description that provides details about your VPC endpoint configuration. *

* * @param vpceConfigurationDescription * An optional description that provides details about your VPC endpoint configuration. */ public void setVpceConfigurationDescription(String vpceConfigurationDescription) { this.vpceConfigurationDescription = vpceConfigurationDescription; } /** *

* An optional description that provides details about your VPC endpoint configuration. *

* * @return An optional description that provides details about your VPC endpoint configuration. */ public String getVpceConfigurationDescription() { return this.vpceConfigurationDescription; } /** *

* An optional description that provides details about your VPC endpoint configuration. *

* * @param vpceConfigurationDescription * An optional description that provides details about your VPC endpoint configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVPCEConfigurationRequest withVpceConfigurationDescription(String vpceConfigurationDescription) { setVpceConfigurationDescription(vpceConfigurationDescription); 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 (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getVpceConfigurationName() != null) sb.append("VpceConfigurationName: ").append(getVpceConfigurationName()).append(","); if (getVpceServiceName() != null) sb.append("VpceServiceName: ").append(getVpceServiceName()).append(","); if (getServiceDnsName() != null) sb.append("ServiceDnsName: ").append(getServiceDnsName()).append(","); if (getVpceConfigurationDescription() != null) sb.append("VpceConfigurationDescription: ").append(getVpceConfigurationDescription()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateVPCEConfigurationRequest == false) return false; UpdateVPCEConfigurationRequest other = (UpdateVPCEConfigurationRequest) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getVpceConfigurationName() == null ^ this.getVpceConfigurationName() == null) return false; if (other.getVpceConfigurationName() != null && other.getVpceConfigurationName().equals(this.getVpceConfigurationName()) == false) return false; if (other.getVpceServiceName() == null ^ this.getVpceServiceName() == null) return false; if (other.getVpceServiceName() != null && other.getVpceServiceName().equals(this.getVpceServiceName()) == false) return false; if (other.getServiceDnsName() == null ^ this.getServiceDnsName() == null) return false; if (other.getServiceDnsName() != null && other.getServiceDnsName().equals(this.getServiceDnsName()) == false) return false; if (other.getVpceConfigurationDescription() == null ^ this.getVpceConfigurationDescription() == null) return false; if (other.getVpceConfigurationDescription() != null && other.getVpceConfigurationDescription().equals(this.getVpceConfigurationDescription()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getVpceConfigurationName() == null) ? 0 : getVpceConfigurationName().hashCode()); hashCode = prime * hashCode + ((getVpceServiceName() == null) ? 0 : getVpceServiceName().hashCode()); hashCode = prime * hashCode + ((getServiceDnsName() == null) ? 0 : getServiceDnsName().hashCode()); hashCode = prime * hashCode + ((getVpceConfigurationDescription() == null) ? 0 : getVpceConfigurationDescription().hashCode()); return hashCode; } @Override public UpdateVPCEConfigurationRequest clone() { return (UpdateVPCEConfigurationRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy