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

com.amazonaws.services.workspaces.model.ModifyAccountRequest Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2017-2022 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.workspaces.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 ModifyAccountRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The status of BYOL. *

*/ private String dedicatedTenancySupport; /** *

* The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP * address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 * CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be specified as * available by the ListAvailableManagementCidrRanges operation. *

*/ private String dedicatedTenancyManagementCidrRange; /** *

* The status of BYOL. *

* * @param dedicatedTenancySupport * The status of BYOL. * @see DedicatedTenancySupportEnum */ public void setDedicatedTenancySupport(String dedicatedTenancySupport) { this.dedicatedTenancySupport = dedicatedTenancySupport; } /** *

* The status of BYOL. *

* * @return The status of BYOL. * @see DedicatedTenancySupportEnum */ public String getDedicatedTenancySupport() { return this.dedicatedTenancySupport; } /** *

* The status of BYOL. *

* * @param dedicatedTenancySupport * The status of BYOL. * @return Returns a reference to this object so that method calls can be chained together. * @see DedicatedTenancySupportEnum */ public ModifyAccountRequest withDedicatedTenancySupport(String dedicatedTenancySupport) { setDedicatedTenancySupport(dedicatedTenancySupport); return this; } /** *

* The status of BYOL. *

* * @param dedicatedTenancySupport * The status of BYOL. * @return Returns a reference to this object so that method calls can be chained together. * @see DedicatedTenancySupportEnum */ public ModifyAccountRequest withDedicatedTenancySupport(DedicatedTenancySupportEnum dedicatedTenancySupport) { this.dedicatedTenancySupport = dedicatedTenancySupport.toString(); return this; } /** *

* The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP * address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 * CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be specified as * available by the ListAvailableManagementCidrRanges operation. *

* * @param dedicatedTenancyManagementCidrRange * The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP * address range that is compatible with your network and in CIDR notation (that is, specify the range as an * IPv4 CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be * specified as available by the ListAvailableManagementCidrRanges operation. */ public void setDedicatedTenancyManagementCidrRange(String dedicatedTenancyManagementCidrRange) { this.dedicatedTenancyManagementCidrRange = dedicatedTenancyManagementCidrRange; } /** *

* The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP * address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 * CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be specified as * available by the ListAvailableManagementCidrRanges operation. *

* * @return The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an * IP address range that is compatible with your network and in CIDR notation (that is, specify the range as * an IPv4 CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be * specified as available by the ListAvailableManagementCidrRanges operation. */ public String getDedicatedTenancyManagementCidrRange() { return this.dedicatedTenancyManagementCidrRange; } /** *

* The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP * address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 * CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be specified as * available by the ListAvailableManagementCidrRanges operation. *

* * @param dedicatedTenancyManagementCidrRange * The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP * address range that is compatible with your network and in CIDR notation (that is, specify the range as an * IPv4 CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be * specified as available by the ListAvailableManagementCidrRanges operation. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyAccountRequest withDedicatedTenancyManagementCidrRange(String dedicatedTenancyManagementCidrRange) { setDedicatedTenancyManagementCidrRange(dedicatedTenancyManagementCidrRange); 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 (getDedicatedTenancySupport() != null) sb.append("DedicatedTenancySupport: ").append(getDedicatedTenancySupport()).append(","); if (getDedicatedTenancyManagementCidrRange() != null) sb.append("DedicatedTenancyManagementCidrRange: ").append(getDedicatedTenancyManagementCidrRange()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ModifyAccountRequest == false) return false; ModifyAccountRequest other = (ModifyAccountRequest) obj; if (other.getDedicatedTenancySupport() == null ^ this.getDedicatedTenancySupport() == null) return false; if (other.getDedicatedTenancySupport() != null && other.getDedicatedTenancySupport().equals(this.getDedicatedTenancySupport()) == false) return false; if (other.getDedicatedTenancyManagementCidrRange() == null ^ this.getDedicatedTenancyManagementCidrRange() == null) return false; if (other.getDedicatedTenancyManagementCidrRange() != null && other.getDedicatedTenancyManagementCidrRange().equals(this.getDedicatedTenancyManagementCidrRange()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDedicatedTenancySupport() == null) ? 0 : getDedicatedTenancySupport().hashCode()); hashCode = prime * hashCode + ((getDedicatedTenancyManagementCidrRange() == null) ? 0 : getDedicatedTenancyManagementCidrRange().hashCode()); return hashCode; } @Override public ModifyAccountRequest clone() { return (ModifyAccountRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy