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

com.amazonaws.services.workspaces.model.DescribeAccountResult 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.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.workspaces.model;

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

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

    /**
     * 

* The status of BYOL (whether BYOL is enabled or disabled). *

*/ private String dedicatedTenancySupport; /** *

* The IP address range, specified as an IPv4 CIDR block, used for the management network interface. *

*

* The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for * interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to * manage the WorkSpace. *

*/ private String dedicatedTenancyManagementCidrRange; /** *

* The type of linked account. *

*/ private String dedicatedTenancyAccountType; /** *

* The status of BYOL (whether BYOL is enabled or disabled). *

* * @param dedicatedTenancySupport * The status of BYOL (whether BYOL is enabled or disabled). * @see DedicatedTenancySupportResultEnum */ public void setDedicatedTenancySupport(String dedicatedTenancySupport) { this.dedicatedTenancySupport = dedicatedTenancySupport; } /** *

* The status of BYOL (whether BYOL is enabled or disabled). *

* * @return The status of BYOL (whether BYOL is enabled or disabled). * @see DedicatedTenancySupportResultEnum */ public String getDedicatedTenancySupport() { return this.dedicatedTenancySupport; } /** *

* The status of BYOL (whether BYOL is enabled or disabled). *

* * @param dedicatedTenancySupport * The status of BYOL (whether BYOL is enabled or disabled). * @return Returns a reference to this object so that method calls can be chained together. * @see DedicatedTenancySupportResultEnum */ public DescribeAccountResult withDedicatedTenancySupport(String dedicatedTenancySupport) { setDedicatedTenancySupport(dedicatedTenancySupport); return this; } /** *

* The status of BYOL (whether BYOL is enabled or disabled). *

* * @param dedicatedTenancySupport * The status of BYOL (whether BYOL is enabled or disabled). * @return Returns a reference to this object so that method calls can be chained together. * @see DedicatedTenancySupportResultEnum */ public DescribeAccountResult withDedicatedTenancySupport(DedicatedTenancySupportResultEnum dedicatedTenancySupport) { this.dedicatedTenancySupport = dedicatedTenancySupport.toString(); return this; } /** *

* The IP address range, specified as an IPv4 CIDR block, used for the management network interface. *

*

* The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for * interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to * manage the WorkSpace. *

* * @param dedicatedTenancyManagementCidrRange * The IP address range, specified as an IPv4 CIDR block, used for the management network interface.

*

* The management network interface is connected to a secure Amazon WorkSpaces management network. It is used * for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon * WorkSpaces to manage the WorkSpace. */ public void setDedicatedTenancyManagementCidrRange(String dedicatedTenancyManagementCidrRange) { this.dedicatedTenancyManagementCidrRange = dedicatedTenancyManagementCidrRange; } /** *

* The IP address range, specified as an IPv4 CIDR block, used for the management network interface. *

*

* The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for * interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to * manage the WorkSpace. *

* * @return The IP address range, specified as an IPv4 CIDR block, used for the management network interface.

*

* The management network interface is connected to a secure Amazon WorkSpaces management network. It is * used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon * WorkSpaces to manage the WorkSpace. */ public String getDedicatedTenancyManagementCidrRange() { return this.dedicatedTenancyManagementCidrRange; } /** *

* The IP address range, specified as an IPv4 CIDR block, used for the management network interface. *

*

* The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for * interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to * manage the WorkSpace. *

* * @param dedicatedTenancyManagementCidrRange * The IP address range, specified as an IPv4 CIDR block, used for the management network interface.

*

* The management network interface is connected to a secure Amazon WorkSpaces management network. It is used * for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon * WorkSpaces to manage the WorkSpace. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAccountResult withDedicatedTenancyManagementCidrRange(String dedicatedTenancyManagementCidrRange) { setDedicatedTenancyManagementCidrRange(dedicatedTenancyManagementCidrRange); return this; } /** *

* The type of linked account. *

* * @param dedicatedTenancyAccountType * The type of linked account. * @see DedicatedTenancyAccountType */ public void setDedicatedTenancyAccountType(String dedicatedTenancyAccountType) { this.dedicatedTenancyAccountType = dedicatedTenancyAccountType; } /** *

* The type of linked account. *

* * @return The type of linked account. * @see DedicatedTenancyAccountType */ public String getDedicatedTenancyAccountType() { return this.dedicatedTenancyAccountType; } /** *

* The type of linked account. *

* * @param dedicatedTenancyAccountType * The type of linked account. * @return Returns a reference to this object so that method calls can be chained together. * @see DedicatedTenancyAccountType */ public DescribeAccountResult withDedicatedTenancyAccountType(String dedicatedTenancyAccountType) { setDedicatedTenancyAccountType(dedicatedTenancyAccountType); return this; } /** *

* The type of linked account. *

* * @param dedicatedTenancyAccountType * The type of linked account. * @return Returns a reference to this object so that method calls can be chained together. * @see DedicatedTenancyAccountType */ public DescribeAccountResult withDedicatedTenancyAccountType(DedicatedTenancyAccountType dedicatedTenancyAccountType) { this.dedicatedTenancyAccountType = dedicatedTenancyAccountType.toString(); 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()).append(","); if (getDedicatedTenancyAccountType() != null) sb.append("DedicatedTenancyAccountType: ").append(getDedicatedTenancyAccountType()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeAccountResult == false) return false; DescribeAccountResult other = (DescribeAccountResult) 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; if (other.getDedicatedTenancyAccountType() == null ^ this.getDedicatedTenancyAccountType() == null) return false; if (other.getDedicatedTenancyAccountType() != null && other.getDedicatedTenancyAccountType().equals(this.getDedicatedTenancyAccountType()) == 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()); hashCode = prime * hashCode + ((getDedicatedTenancyAccountType() == null) ? 0 : getDedicatedTenancyAccountType().hashCode()); return hashCode; } @Override public DescribeAccountResult clone() { try { return (DescribeAccountResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy