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

com.amazonaws.services.elasticloadbalancingv2.model.GetTrustStoreRevocationContentRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Elastic Load Balancing module holds the client classes that are used for communicating with Elastic Load Balancing Service (API Version 2015-12-01)

The 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.elasticloadbalancingv2.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 GetTrustStoreRevocationContentRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The Amazon Resource Name (ARN) of the trust store. *

*/ private String trustStoreArn; /** *

* The revocation ID of the revocation file. *

*/ private Long revocationId; /** *

* The Amazon Resource Name (ARN) of the trust store. *

* * @param trustStoreArn * The Amazon Resource Name (ARN) of the trust store. */ public void setTrustStoreArn(String trustStoreArn) { this.trustStoreArn = trustStoreArn; } /** *

* The Amazon Resource Name (ARN) of the trust store. *

* * @return The Amazon Resource Name (ARN) of the trust store. */ public String getTrustStoreArn() { return this.trustStoreArn; } /** *

* The Amazon Resource Name (ARN) of the trust store. *

* * @param trustStoreArn * The Amazon Resource Name (ARN) of the trust store. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTrustStoreRevocationContentRequest withTrustStoreArn(String trustStoreArn) { setTrustStoreArn(trustStoreArn); return this; } /** *

* The revocation ID of the revocation file. *

* * @param revocationId * The revocation ID of the revocation file. */ public void setRevocationId(Long revocationId) { this.revocationId = revocationId; } /** *

* The revocation ID of the revocation file. *

* * @return The revocation ID of the revocation file. */ public Long getRevocationId() { return this.revocationId; } /** *

* The revocation ID of the revocation file. *

* * @param revocationId * The revocation ID of the revocation file. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTrustStoreRevocationContentRequest withRevocationId(Long revocationId) { setRevocationId(revocationId); 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 (getTrustStoreArn() != null) sb.append("TrustStoreArn: ").append(getTrustStoreArn()).append(","); if (getRevocationId() != null) sb.append("RevocationId: ").append(getRevocationId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetTrustStoreRevocationContentRequest == false) return false; GetTrustStoreRevocationContentRequest other = (GetTrustStoreRevocationContentRequest) obj; if (other.getTrustStoreArn() == null ^ this.getTrustStoreArn() == null) return false; if (other.getTrustStoreArn() != null && other.getTrustStoreArn().equals(this.getTrustStoreArn()) == false) return false; if (other.getRevocationId() == null ^ this.getRevocationId() == null) return false; if (other.getRevocationId() != null && other.getRevocationId().equals(this.getRevocationId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTrustStoreArn() == null) ? 0 : getTrustStoreArn().hashCode()); hashCode = prime * hashCode + ((getRevocationId() == null) ? 0 : getRevocationId().hashCode()); return hashCode; } @Override public GetTrustStoreRevocationContentRequest clone() { return (GetTrustStoreRevocationContentRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy