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

com.amazonaws.services.elasticloadbalancingv2.model.DescribeTrustStoresRequest 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 DescribeTrustStoresRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

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

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

* The names of the trust stores. *

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

* The marker for the next set of results. (You received this marker from a previous call.) *

*/ private String marker; /** *

* The maximum number of results to return with this call. *

*/ private Integer pageSize; /** *

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

* * @return The Amazon Resource Name (ARN) of the trust store. */ public java.util.List getTrustStoreArns() { return trustStoreArns; } /** *

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

* * @param trustStoreArns * The Amazon Resource Name (ARN) of the trust store. */ public void setTrustStoreArns(java.util.Collection trustStoreArns) { if (trustStoreArns == null) { this.trustStoreArns = null; return; } this.trustStoreArns = new java.util.ArrayList(trustStoreArns); } /** *

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

*

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

* * @param trustStoreArns * 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 DescribeTrustStoresRequest withTrustStoreArns(String... trustStoreArns) { if (this.trustStoreArns == null) { setTrustStoreArns(new java.util.ArrayList(trustStoreArns.length)); } for (String ele : trustStoreArns) { this.trustStoreArns.add(ele); } return this; } /** *

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

* * @param trustStoreArns * 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 DescribeTrustStoresRequest withTrustStoreArns(java.util.Collection trustStoreArns) { setTrustStoreArns(trustStoreArns); return this; } /** *

* The names of the trust stores. *

* * @return The names of the trust stores. */ public java.util.List getNames() { return names; } /** *

* The names of the trust stores. *

* * @param names * The names of the trust stores. */ public void setNames(java.util.Collection names) { if (names == null) { this.names = null; return; } this.names = new java.util.ArrayList(names); } /** *

* The names of the trust stores. *

*

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

* * @param names * The names of the trust stores. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustStoresRequest withNames(String... names) { if (this.names == null) { setNames(new java.util.ArrayList(names.length)); } for (String ele : names) { this.names.add(ele); } return this; } /** *

* The names of the trust stores. *

* * @param names * The names of the trust stores. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustStoresRequest withNames(java.util.Collection names) { setNames(names); return this; } /** *

* The marker for the next set of results. (You received this marker from a previous call.) *

* * @param marker * The marker for the next set of results. (You received this marker from a previous call.) */ public void setMarker(String marker) { this.marker = marker; } /** *

* The marker for the next set of results. (You received this marker from a previous call.) *

* * @return The marker for the next set of results. (You received this marker from a previous call.) */ public String getMarker() { return this.marker; } /** *

* The marker for the next set of results. (You received this marker from a previous call.) *

* * @param marker * The marker for the next set of results. (You received this marker from a previous call.) * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustStoresRequest withMarker(String marker) { setMarker(marker); return this; } /** *

* The maximum number of results to return with this call. *

* * @param pageSize * The maximum number of results to return with this call. */ public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } /** *

* The maximum number of results to return with this call. *

* * @return The maximum number of results to return with this call. */ public Integer getPageSize() { return this.pageSize; } /** *

* The maximum number of results to return with this call. *

* * @param pageSize * The maximum number of results to return with this call. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustStoresRequest withPageSize(Integer pageSize) { setPageSize(pageSize); 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 (getTrustStoreArns() != null) sb.append("TrustStoreArns: ").append(getTrustStoreArns()).append(","); if (getNames() != null) sb.append("Names: ").append(getNames()).append(","); if (getMarker() != null) sb.append("Marker: ").append(getMarker()).append(","); if (getPageSize() != null) sb.append("PageSize: ").append(getPageSize()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeTrustStoresRequest == false) return false; DescribeTrustStoresRequest other = (DescribeTrustStoresRequest) obj; if (other.getTrustStoreArns() == null ^ this.getTrustStoreArns() == null) return false; if (other.getTrustStoreArns() != null && other.getTrustStoreArns().equals(this.getTrustStoreArns()) == false) return false; if (other.getNames() == null ^ this.getNames() == null) return false; if (other.getNames() != null && other.getNames().equals(this.getNames()) == false) return false; if (other.getMarker() == null ^ this.getMarker() == null) return false; if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false) return false; if (other.getPageSize() == null ^ this.getPageSize() == null) return false; if (other.getPageSize() != null && other.getPageSize().equals(this.getPageSize()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTrustStoreArns() == null) ? 0 : getTrustStoreArns().hashCode()); hashCode = prime * hashCode + ((getNames() == null) ? 0 : getNames().hashCode()); hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); hashCode = prime * hashCode + ((getPageSize() == null) ? 0 : getPageSize().hashCode()); return hashCode; } @Override public DescribeTrustStoresRequest clone() { return (DescribeTrustStoresRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy