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

com.amazonaws.services.private5g.model.ListNetworksRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Private 5G module holds the client classes that are used for communicating with AWS Private 5G 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.private5g.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 ListNetworksRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The filters. *

*
    *
  • *

    * STATUS - The status (AVAILABLE | CREATED | DELETED | * DEPROVISIONING | PROVISIONING). *

    *
  • *
*

* Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an * OR, and the request returns all results that match any of the specified values. *

*/ private java.util.Map> filters; /** *

* The maximum number of results to return. *

*/ private Integer maxResults; /** *

* The token for the next page of results. *

*/ private String startToken; /** *

* The filters. *

*
    *
  • *

    * STATUS - The status (AVAILABLE | CREATED | DELETED | * DEPROVISIONING | PROVISIONING). *

    *
  • *
*

* Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an * OR, and the request returns all results that match any of the specified values. *

* * @return The filters.

*
    *
  • *

    * STATUS - The status (AVAILABLE | CREATED | DELETED | * DEPROVISIONING | PROVISIONING). *

    *
  • *
*

* Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with * an OR, and the request returns all results that match any of the specified values. */ public java.util.Map> getFilters() { return filters; } /** *

* The filters. *

*
    *
  • *

    * STATUS - The status (AVAILABLE | CREATED | DELETED | * DEPROVISIONING | PROVISIONING). *

    *
  • *
*

* Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an * OR, and the request returns all results that match any of the specified values. *

* * @param filters * The filters.

*
    *
  • *

    * STATUS - The status (AVAILABLE | CREATED | DELETED | * DEPROVISIONING | PROVISIONING). *

    *
  • *
*

* Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with * an OR, and the request returns all results that match any of the specified values. */ public void setFilters(java.util.Map> filters) { this.filters = filters; } /** *

* The filters. *

*
    *
  • *

    * STATUS - The status (AVAILABLE | CREATED | DELETED | * DEPROVISIONING | PROVISIONING). *

    *
  • *
*

* Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an * OR, and the request returns all results that match any of the specified values. *

* * @param filters * The filters.

*
    *
  • *

    * STATUS - The status (AVAILABLE | CREATED | DELETED | * DEPROVISIONING | PROVISIONING). *

    *
  • *
*

* Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with * an OR, and the request returns all results that match any of the specified values. * @return Returns a reference to this object so that method calls can be chained together. */ public ListNetworksRequest withFilters(java.util.Map> filters) { setFilters(filters); return this; } /** * Add a single Filters entry * * @see ListNetworksRequest#withFilters * @returns a reference to this object so that method calls can be chained together. */ public ListNetworksRequest addFiltersEntry(String key, java.util.List value) { if (null == this.filters) { this.filters = new java.util.HashMap>(); } if (this.filters.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.filters.put(key, value); return this; } /** * Removes all the entries added into Filters. * * @return Returns a reference to this object so that method calls can be chained together. */ public ListNetworksRequest clearFiltersEntries() { this.filters = null; return this; } /** *

* The maximum number of results to return. *

* * @param maxResults * The maximum number of results to return. */ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } /** *

* The maximum number of results to return. *

* * @return The maximum number of results to return. */ public Integer getMaxResults() { return this.maxResults; } /** *

* The maximum number of results to return. *

* * @param maxResults * The maximum number of results to return. * @return Returns a reference to this object so that method calls can be chained together. */ public ListNetworksRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; } /** *

* The token for the next page of results. *

* * @param startToken * The token for the next page of results. */ public void setStartToken(String startToken) { this.startToken = startToken; } /** *

* The token for the next page of results. *

* * @return The token for the next page of results. */ public String getStartToken() { return this.startToken; } /** *

* The token for the next page of results. *

* * @param startToken * The token for the next page of results. * @return Returns a reference to this object so that method calls can be chained together. */ public ListNetworksRequest withStartToken(String startToken) { setStartToken(startToken); 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 (getFilters() != null) sb.append("Filters: ").append(getFilters()).append(","); if (getMaxResults() != null) sb.append("MaxResults: ").append(getMaxResults()).append(","); if (getStartToken() != null) sb.append("StartToken: ").append(getStartToken()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ListNetworksRequest == false) return false; ListNetworksRequest other = (ListNetworksRequest) obj; if (other.getFilters() == null ^ this.getFilters() == null) return false; if (other.getFilters() != null && other.getFilters().equals(this.getFilters()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null) return false; if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false) return false; if (other.getStartToken() == null ^ this.getStartToken() == null) return false; if (other.getStartToken() != null && other.getStartToken().equals(this.getStartToken()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getFilters() == null) ? 0 : getFilters().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); hashCode = prime * hashCode + ((getStartToken() == null) ? 0 : getStartToken().hashCode()); return hashCode; } @Override public ListNetworksRequest clone() { return (ListNetworksRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy