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

com.amazonaws.services.workspacesweb.model.Portal Maven / Gradle / Ivy

Go to download

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

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.workspacesweb.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The web portal. *

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

* The additional encryption context of the portal. *

*/ private java.util.Map additionalEncryptionContext; /** *

* The type of authentication integration points used when signing into the web portal. Defaults to * Standard. *

*

* Standard web portals are authenticated directly through your identity provider. You need to call * CreateIdentityProvider to integrate your identity provider with your web portal. User and group * access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to Single * Sign-On). Identity sources (including external identity provider integration), plus user and group access to your * web portal, can be configured in the IAM Identity Center. *

*/ private String authenticationType; /** *

* The ARN of the browser settings that is associated with this web portal. *

*/ private String browserSettingsArn; /** *

* The browser that users see when using a streaming session. *

*/ private String browserType; /** *

* The creation date of the web portal. *

*/ private java.util.Date creationDate; /** *

* The customer managed key used to encrypt sensitive information in the portal. *

*/ private String customerManagedKey; /** *

* The name of the web portal. *

*/ private String displayName; /** *

* The type and resources of the underlying instance. *

*/ private String instanceType; /** *

* The ARN of the IP access settings. *

*/ private String ipAccessSettingsArn; /** *

* The maximum number of concurrent sessions for the portal. *

*/ private Integer maxConcurrentSessions; /** *

* The ARN of the network settings that is associated with the web portal. *

*/ private String networkSettingsArn; /** *

* The ARN of the web portal. *

*/ private String portalArn; /** *

* The endpoint URL of the web portal that users access in order to start streaming sessions. *

*/ private String portalEndpoint; /** *

* The status of the web portal. *

*/ private String portalStatus; /** *

* The renderer that is used in streaming sessions. *

*/ private String rendererType; /** *

* A message that explains why the web portal is in its current status. *

*/ private String statusReason; /** *

* The ARN of the trust store that is associated with the web portal. *

*/ private String trustStoreArn; /** *

* The ARN of the user access logging settings that is associated with the web portal. *

*/ private String userAccessLoggingSettingsArn; /** *

* The ARN of the user settings that is associated with the web portal. *

*/ private String userSettingsArn; /** *

* The additional encryption context of the portal. *

* * @return The additional encryption context of the portal. */ public java.util.Map getAdditionalEncryptionContext() { return additionalEncryptionContext; } /** *

* The additional encryption context of the portal. *

* * @param additionalEncryptionContext * The additional encryption context of the portal. */ public void setAdditionalEncryptionContext(java.util.Map additionalEncryptionContext) { this.additionalEncryptionContext = additionalEncryptionContext; } /** *

* The additional encryption context of the portal. *

* * @param additionalEncryptionContext * The additional encryption context of the portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withAdditionalEncryptionContext(java.util.Map additionalEncryptionContext) { setAdditionalEncryptionContext(additionalEncryptionContext); return this; } /** * Add a single AdditionalEncryptionContext entry * * @see Portal#withAdditionalEncryptionContext * @returns a reference to this object so that method calls can be chained together. */ public Portal addAdditionalEncryptionContextEntry(String key, String value) { if (null == this.additionalEncryptionContext) { this.additionalEncryptionContext = new java.util.HashMap(); } if (this.additionalEncryptionContext.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.additionalEncryptionContext.put(key, value); return this; } /** * Removes all the entries added into AdditionalEncryptionContext. * * @return Returns a reference to this object so that method calls can be chained together. */ public Portal clearAdditionalEncryptionContextEntries() { this.additionalEncryptionContext = null; return this; } /** *

* The type of authentication integration points used when signing into the web portal. Defaults to * Standard. *

*

* Standard web portals are authenticated directly through your identity provider. You need to call * CreateIdentityProvider to integrate your identity provider with your web portal. User and group * access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to Single * Sign-On). Identity sources (including external identity provider integration), plus user and group access to your * web portal, can be configured in the IAM Identity Center. *

* * @param authenticationType * The type of authentication integration points used when signing into the web portal. Defaults to * Standard.

*

* Standard web portals are authenticated directly through your identity provider. You need to * call CreateIdentityProvider to integrate your identity provider with your web portal. User * and group access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to * Single Sign-On). Identity sources (including external identity provider integration), plus user and group * access to your web portal, can be configured in the IAM Identity Center. * @see AuthenticationType */ public void setAuthenticationType(String authenticationType) { this.authenticationType = authenticationType; } /** *

* The type of authentication integration points used when signing into the web portal. Defaults to * Standard. *

*

* Standard web portals are authenticated directly through your identity provider. You need to call * CreateIdentityProvider to integrate your identity provider with your web portal. User and group * access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to Single * Sign-On). Identity sources (including external identity provider integration), plus user and group access to your * web portal, can be configured in the IAM Identity Center. *

* * @return The type of authentication integration points used when signing into the web portal. Defaults to * Standard.

*

* Standard web portals are authenticated directly through your identity provider. You need to * call CreateIdentityProvider to integrate your identity provider with your web portal. User * and group access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to * Single Sign-On). Identity sources (including external identity provider integration), plus user and group * access to your web portal, can be configured in the IAM Identity Center. * @see AuthenticationType */ public String getAuthenticationType() { return this.authenticationType; } /** *

* The type of authentication integration points used when signing into the web portal. Defaults to * Standard. *

*

* Standard web portals are authenticated directly through your identity provider. You need to call * CreateIdentityProvider to integrate your identity provider with your web portal. User and group * access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to Single * Sign-On). Identity sources (including external identity provider integration), plus user and group access to your * web portal, can be configured in the IAM Identity Center. *

* * @param authenticationType * The type of authentication integration points used when signing into the web portal. Defaults to * Standard.

*

* Standard web portals are authenticated directly through your identity provider. You need to * call CreateIdentityProvider to integrate your identity provider with your web portal. User * and group access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to * Single Sign-On). Identity sources (including external identity provider integration), plus user and group * access to your web portal, can be configured in the IAM Identity Center. * @return Returns a reference to this object so that method calls can be chained together. * @see AuthenticationType */ public Portal withAuthenticationType(String authenticationType) { setAuthenticationType(authenticationType); return this; } /** *

* The type of authentication integration points used when signing into the web portal. Defaults to * Standard. *

*

* Standard web portals are authenticated directly through your identity provider. You need to call * CreateIdentityProvider to integrate your identity provider with your web portal. User and group * access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to Single * Sign-On). Identity sources (including external identity provider integration), plus user and group access to your * web portal, can be configured in the IAM Identity Center. *

* * @param authenticationType * The type of authentication integration points used when signing into the web portal. Defaults to * Standard.

*

* Standard web portals are authenticated directly through your identity provider. You need to * call CreateIdentityProvider to integrate your identity provider with your web portal. User * and group access to your web portal is controlled through your identity provider. *

*

* IAM Identity Center web portals are authenticated through IAM Identity Center (successor to * Single Sign-On). Identity sources (including external identity provider integration), plus user and group * access to your web portal, can be configured in the IAM Identity Center. * @return Returns a reference to this object so that method calls can be chained together. * @see AuthenticationType */ public Portal withAuthenticationType(AuthenticationType authenticationType) { this.authenticationType = authenticationType.toString(); return this; } /** *

* The ARN of the browser settings that is associated with this web portal. *

* * @param browserSettingsArn * The ARN of the browser settings that is associated with this web portal. */ public void setBrowserSettingsArn(String browserSettingsArn) { this.browserSettingsArn = browserSettingsArn; } /** *

* The ARN of the browser settings that is associated with this web portal. *

* * @return The ARN of the browser settings that is associated with this web portal. */ public String getBrowserSettingsArn() { return this.browserSettingsArn; } /** *

* The ARN of the browser settings that is associated with this web portal. *

* * @param browserSettingsArn * The ARN of the browser settings that is associated with this web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withBrowserSettingsArn(String browserSettingsArn) { setBrowserSettingsArn(browserSettingsArn); return this; } /** *

* The browser that users see when using a streaming session. *

* * @param browserType * The browser that users see when using a streaming session. * @see BrowserType */ public void setBrowserType(String browserType) { this.browserType = browserType; } /** *

* The browser that users see when using a streaming session. *

* * @return The browser that users see when using a streaming session. * @see BrowserType */ public String getBrowserType() { return this.browserType; } /** *

* The browser that users see when using a streaming session. *

* * @param browserType * The browser that users see when using a streaming session. * @return Returns a reference to this object so that method calls can be chained together. * @see BrowserType */ public Portal withBrowserType(String browserType) { setBrowserType(browserType); return this; } /** *

* The browser that users see when using a streaming session. *

* * @param browserType * The browser that users see when using a streaming session. * @return Returns a reference to this object so that method calls can be chained together. * @see BrowserType */ public Portal withBrowserType(BrowserType browserType) { this.browserType = browserType.toString(); return this; } /** *

* The creation date of the web portal. *

* * @param creationDate * The creation date of the web portal. */ public void setCreationDate(java.util.Date creationDate) { this.creationDate = creationDate; } /** *

* The creation date of the web portal. *

* * @return The creation date of the web portal. */ public java.util.Date getCreationDate() { return this.creationDate; } /** *

* The creation date of the web portal. *

* * @param creationDate * The creation date of the web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withCreationDate(java.util.Date creationDate) { setCreationDate(creationDate); return this; } /** *

* The customer managed key used to encrypt sensitive information in the portal. *

* * @param customerManagedKey * The customer managed key used to encrypt sensitive information in the portal. */ public void setCustomerManagedKey(String customerManagedKey) { this.customerManagedKey = customerManagedKey; } /** *

* The customer managed key used to encrypt sensitive information in the portal. *

* * @return The customer managed key used to encrypt sensitive information in the portal. */ public String getCustomerManagedKey() { return this.customerManagedKey; } /** *

* The customer managed key used to encrypt sensitive information in the portal. *

* * @param customerManagedKey * The customer managed key used to encrypt sensitive information in the portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withCustomerManagedKey(String customerManagedKey) { setCustomerManagedKey(customerManagedKey); return this; } /** *

* The name of the web portal. *

* * @param displayName * The name of the web portal. */ public void setDisplayName(String displayName) { this.displayName = displayName; } /** *

* The name of the web portal. *

* * @return The name of the web portal. */ public String getDisplayName() { return this.displayName; } /** *

* The name of the web portal. *

* * @param displayName * The name of the web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withDisplayName(String displayName) { setDisplayName(displayName); return this; } /** *

* The type and resources of the underlying instance. *

* * @param instanceType * The type and resources of the underlying instance. * @see InstanceType */ public void setInstanceType(String instanceType) { this.instanceType = instanceType; } /** *

* The type and resources of the underlying instance. *

* * @return The type and resources of the underlying instance. * @see InstanceType */ public String getInstanceType() { return this.instanceType; } /** *

* The type and resources of the underlying instance. *

* * @param instanceType * The type and resources of the underlying instance. * @return Returns a reference to this object so that method calls can be chained together. * @see InstanceType */ public Portal withInstanceType(String instanceType) { setInstanceType(instanceType); return this; } /** *

* The type and resources of the underlying instance. *

* * @param instanceType * The type and resources of the underlying instance. * @return Returns a reference to this object so that method calls can be chained together. * @see InstanceType */ public Portal withInstanceType(InstanceType instanceType) { this.instanceType = instanceType.toString(); return this; } /** *

* The ARN of the IP access settings. *

* * @param ipAccessSettingsArn * The ARN of the IP access settings. */ public void setIpAccessSettingsArn(String ipAccessSettingsArn) { this.ipAccessSettingsArn = ipAccessSettingsArn; } /** *

* The ARN of the IP access settings. *

* * @return The ARN of the IP access settings. */ public String getIpAccessSettingsArn() { return this.ipAccessSettingsArn; } /** *

* The ARN of the IP access settings. *

* * @param ipAccessSettingsArn * The ARN of the IP access settings. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withIpAccessSettingsArn(String ipAccessSettingsArn) { setIpAccessSettingsArn(ipAccessSettingsArn); return this; } /** *

* The maximum number of concurrent sessions for the portal. *

* * @param maxConcurrentSessions * The maximum number of concurrent sessions for the portal. */ public void setMaxConcurrentSessions(Integer maxConcurrentSessions) { this.maxConcurrentSessions = maxConcurrentSessions; } /** *

* The maximum number of concurrent sessions for the portal. *

* * @return The maximum number of concurrent sessions for the portal. */ public Integer getMaxConcurrentSessions() { return this.maxConcurrentSessions; } /** *

* The maximum number of concurrent sessions for the portal. *

* * @param maxConcurrentSessions * The maximum number of concurrent sessions for the portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withMaxConcurrentSessions(Integer maxConcurrentSessions) { setMaxConcurrentSessions(maxConcurrentSessions); return this; } /** *

* The ARN of the network settings that is associated with the web portal. *

* * @param networkSettingsArn * The ARN of the network settings that is associated with the web portal. */ public void setNetworkSettingsArn(String networkSettingsArn) { this.networkSettingsArn = networkSettingsArn; } /** *

* The ARN of the network settings that is associated with the web portal. *

* * @return The ARN of the network settings that is associated with the web portal. */ public String getNetworkSettingsArn() { return this.networkSettingsArn; } /** *

* The ARN of the network settings that is associated with the web portal. *

* * @param networkSettingsArn * The ARN of the network settings that is associated with the web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withNetworkSettingsArn(String networkSettingsArn) { setNetworkSettingsArn(networkSettingsArn); return this; } /** *

* The ARN of the web portal. *

* * @param portalArn * The ARN of the web portal. */ public void setPortalArn(String portalArn) { this.portalArn = portalArn; } /** *

* The ARN of the web portal. *

* * @return The ARN of the web portal. */ public String getPortalArn() { return this.portalArn; } /** *

* The ARN of the web portal. *

* * @param portalArn * The ARN of the web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withPortalArn(String portalArn) { setPortalArn(portalArn); return this; } /** *

* The endpoint URL of the web portal that users access in order to start streaming sessions. *

* * @param portalEndpoint * The endpoint URL of the web portal that users access in order to start streaming sessions. */ public void setPortalEndpoint(String portalEndpoint) { this.portalEndpoint = portalEndpoint; } /** *

* The endpoint URL of the web portal that users access in order to start streaming sessions. *

* * @return The endpoint URL of the web portal that users access in order to start streaming sessions. */ public String getPortalEndpoint() { return this.portalEndpoint; } /** *

* The endpoint URL of the web portal that users access in order to start streaming sessions. *

* * @param portalEndpoint * The endpoint URL of the web portal that users access in order to start streaming sessions. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withPortalEndpoint(String portalEndpoint) { setPortalEndpoint(portalEndpoint); return this; } /** *

* The status of the web portal. *

* * @param portalStatus * The status of the web portal. * @see PortalStatus */ public void setPortalStatus(String portalStatus) { this.portalStatus = portalStatus; } /** *

* The status of the web portal. *

* * @return The status of the web portal. * @see PortalStatus */ public String getPortalStatus() { return this.portalStatus; } /** *

* The status of the web portal. *

* * @param portalStatus * The status of the web portal. * @return Returns a reference to this object so that method calls can be chained together. * @see PortalStatus */ public Portal withPortalStatus(String portalStatus) { setPortalStatus(portalStatus); return this; } /** *

* The status of the web portal. *

* * @param portalStatus * The status of the web portal. * @return Returns a reference to this object so that method calls can be chained together. * @see PortalStatus */ public Portal withPortalStatus(PortalStatus portalStatus) { this.portalStatus = portalStatus.toString(); return this; } /** *

* The renderer that is used in streaming sessions. *

* * @param rendererType * The renderer that is used in streaming sessions. * @see RendererType */ public void setRendererType(String rendererType) { this.rendererType = rendererType; } /** *

* The renderer that is used in streaming sessions. *

* * @return The renderer that is used in streaming sessions. * @see RendererType */ public String getRendererType() { return this.rendererType; } /** *

* The renderer that is used in streaming sessions. *

* * @param rendererType * The renderer that is used in streaming sessions. * @return Returns a reference to this object so that method calls can be chained together. * @see RendererType */ public Portal withRendererType(String rendererType) { setRendererType(rendererType); return this; } /** *

* The renderer that is used in streaming sessions. *

* * @param rendererType * The renderer that is used in streaming sessions. * @return Returns a reference to this object so that method calls can be chained together. * @see RendererType */ public Portal withRendererType(RendererType rendererType) { this.rendererType = rendererType.toString(); return this; } /** *

* A message that explains why the web portal is in its current status. *

* * @param statusReason * A message that explains why the web portal is in its current status. */ public void setStatusReason(String statusReason) { this.statusReason = statusReason; } /** *

* A message that explains why the web portal is in its current status. *

* * @return A message that explains why the web portal is in its current status. */ public String getStatusReason() { return this.statusReason; } /** *

* A message that explains why the web portal is in its current status. *

* * @param statusReason * A message that explains why the web portal is in its current status. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withStatusReason(String statusReason) { setStatusReason(statusReason); return this; } /** *

* The ARN of the trust store that is associated with the web portal. *

* * @param trustStoreArn * The ARN of the trust store that is associated with the web portal. */ public void setTrustStoreArn(String trustStoreArn) { this.trustStoreArn = trustStoreArn; } /** *

* The ARN of the trust store that is associated with the web portal. *

* * @return The ARN of the trust store that is associated with the web portal. */ public String getTrustStoreArn() { return this.trustStoreArn; } /** *

* The ARN of the trust store that is associated with the web portal. *

* * @param trustStoreArn * The ARN of the trust store that is associated with the web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withTrustStoreArn(String trustStoreArn) { setTrustStoreArn(trustStoreArn); return this; } /** *

* The ARN of the user access logging settings that is associated with the web portal. *

* * @param userAccessLoggingSettingsArn * The ARN of the user access logging settings that is associated with the web portal. */ public void setUserAccessLoggingSettingsArn(String userAccessLoggingSettingsArn) { this.userAccessLoggingSettingsArn = userAccessLoggingSettingsArn; } /** *

* The ARN of the user access logging settings that is associated with the web portal. *

* * @return The ARN of the user access logging settings that is associated with the web portal. */ public String getUserAccessLoggingSettingsArn() { return this.userAccessLoggingSettingsArn; } /** *

* The ARN of the user access logging settings that is associated with the web portal. *

* * @param userAccessLoggingSettingsArn * The ARN of the user access logging settings that is associated with the web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withUserAccessLoggingSettingsArn(String userAccessLoggingSettingsArn) { setUserAccessLoggingSettingsArn(userAccessLoggingSettingsArn); return this; } /** *

* The ARN of the user settings that is associated with the web portal. *

* * @param userSettingsArn * The ARN of the user settings that is associated with the web portal. */ public void setUserSettingsArn(String userSettingsArn) { this.userSettingsArn = userSettingsArn; } /** *

* The ARN of the user settings that is associated with the web portal. *

* * @return The ARN of the user settings that is associated with the web portal. */ public String getUserSettingsArn() { return this.userSettingsArn; } /** *

* The ARN of the user settings that is associated with the web portal. *

* * @param userSettingsArn * The ARN of the user settings that is associated with the web portal. * @return Returns a reference to this object so that method calls can be chained together. */ public Portal withUserSettingsArn(String userSettingsArn) { setUserSettingsArn(userSettingsArn); 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 (getAdditionalEncryptionContext() != null) sb.append("AdditionalEncryptionContext: ").append(getAdditionalEncryptionContext()).append(","); if (getAuthenticationType() != null) sb.append("AuthenticationType: ").append(getAuthenticationType()).append(","); if (getBrowserSettingsArn() != null) sb.append("BrowserSettingsArn: ").append(getBrowserSettingsArn()).append(","); if (getBrowserType() != null) sb.append("BrowserType: ").append(getBrowserType()).append(","); if (getCreationDate() != null) sb.append("CreationDate: ").append(getCreationDate()).append(","); if (getCustomerManagedKey() != null) sb.append("CustomerManagedKey: ").append(getCustomerManagedKey()).append(","); if (getDisplayName() != null) sb.append("DisplayName: ").append("***Sensitive Data Redacted***").append(","); if (getInstanceType() != null) sb.append("InstanceType: ").append(getInstanceType()).append(","); if (getIpAccessSettingsArn() != null) sb.append("IpAccessSettingsArn: ").append(getIpAccessSettingsArn()).append(","); if (getMaxConcurrentSessions() != null) sb.append("MaxConcurrentSessions: ").append(getMaxConcurrentSessions()).append(","); if (getNetworkSettingsArn() != null) sb.append("NetworkSettingsArn: ").append(getNetworkSettingsArn()).append(","); if (getPortalArn() != null) sb.append("PortalArn: ").append(getPortalArn()).append(","); if (getPortalEndpoint() != null) sb.append("PortalEndpoint: ").append(getPortalEndpoint()).append(","); if (getPortalStatus() != null) sb.append("PortalStatus: ").append(getPortalStatus()).append(","); if (getRendererType() != null) sb.append("RendererType: ").append(getRendererType()).append(","); if (getStatusReason() != null) sb.append("StatusReason: ").append(getStatusReason()).append(","); if (getTrustStoreArn() != null) sb.append("TrustStoreArn: ").append(getTrustStoreArn()).append(","); if (getUserAccessLoggingSettingsArn() != null) sb.append("UserAccessLoggingSettingsArn: ").append(getUserAccessLoggingSettingsArn()).append(","); if (getUserSettingsArn() != null) sb.append("UserSettingsArn: ").append(getUserSettingsArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Portal == false) return false; Portal other = (Portal) obj; if (other.getAdditionalEncryptionContext() == null ^ this.getAdditionalEncryptionContext() == null) return false; if (other.getAdditionalEncryptionContext() != null && other.getAdditionalEncryptionContext().equals(this.getAdditionalEncryptionContext()) == false) return false; if (other.getAuthenticationType() == null ^ this.getAuthenticationType() == null) return false; if (other.getAuthenticationType() != null && other.getAuthenticationType().equals(this.getAuthenticationType()) == false) return false; if (other.getBrowserSettingsArn() == null ^ this.getBrowserSettingsArn() == null) return false; if (other.getBrowserSettingsArn() != null && other.getBrowserSettingsArn().equals(this.getBrowserSettingsArn()) == false) return false; if (other.getBrowserType() == null ^ this.getBrowserType() == null) return false; if (other.getBrowserType() != null && other.getBrowserType().equals(this.getBrowserType()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getCustomerManagedKey() == null ^ this.getCustomerManagedKey() == null) return false; if (other.getCustomerManagedKey() != null && other.getCustomerManagedKey().equals(this.getCustomerManagedKey()) == false) return false; if (other.getDisplayName() == null ^ this.getDisplayName() == null) return false; if (other.getDisplayName() != null && other.getDisplayName().equals(this.getDisplayName()) == false) return false; if (other.getInstanceType() == null ^ this.getInstanceType() == null) return false; if (other.getInstanceType() != null && other.getInstanceType().equals(this.getInstanceType()) == false) return false; if (other.getIpAccessSettingsArn() == null ^ this.getIpAccessSettingsArn() == null) return false; if (other.getIpAccessSettingsArn() != null && other.getIpAccessSettingsArn().equals(this.getIpAccessSettingsArn()) == false) return false; if (other.getMaxConcurrentSessions() == null ^ this.getMaxConcurrentSessions() == null) return false; if (other.getMaxConcurrentSessions() != null && other.getMaxConcurrentSessions().equals(this.getMaxConcurrentSessions()) == false) return false; if (other.getNetworkSettingsArn() == null ^ this.getNetworkSettingsArn() == null) return false; if (other.getNetworkSettingsArn() != null && other.getNetworkSettingsArn().equals(this.getNetworkSettingsArn()) == false) return false; if (other.getPortalArn() == null ^ this.getPortalArn() == null) return false; if (other.getPortalArn() != null && other.getPortalArn().equals(this.getPortalArn()) == false) return false; if (other.getPortalEndpoint() == null ^ this.getPortalEndpoint() == null) return false; if (other.getPortalEndpoint() != null && other.getPortalEndpoint().equals(this.getPortalEndpoint()) == false) return false; if (other.getPortalStatus() == null ^ this.getPortalStatus() == null) return false; if (other.getPortalStatus() != null && other.getPortalStatus().equals(this.getPortalStatus()) == false) return false; if (other.getRendererType() == null ^ this.getRendererType() == null) return false; if (other.getRendererType() != null && other.getRendererType().equals(this.getRendererType()) == false) return false; if (other.getStatusReason() == null ^ this.getStatusReason() == null) return false; if (other.getStatusReason() != null && other.getStatusReason().equals(this.getStatusReason()) == false) return false; if (other.getTrustStoreArn() == null ^ this.getTrustStoreArn() == null) return false; if (other.getTrustStoreArn() != null && other.getTrustStoreArn().equals(this.getTrustStoreArn()) == false) return false; if (other.getUserAccessLoggingSettingsArn() == null ^ this.getUserAccessLoggingSettingsArn() == null) return false; if (other.getUserAccessLoggingSettingsArn() != null && other.getUserAccessLoggingSettingsArn().equals(this.getUserAccessLoggingSettingsArn()) == false) return false; if (other.getUserSettingsArn() == null ^ this.getUserSettingsArn() == null) return false; if (other.getUserSettingsArn() != null && other.getUserSettingsArn().equals(this.getUserSettingsArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAdditionalEncryptionContext() == null) ? 0 : getAdditionalEncryptionContext().hashCode()); hashCode = prime * hashCode + ((getAuthenticationType() == null) ? 0 : getAuthenticationType().hashCode()); hashCode = prime * hashCode + ((getBrowserSettingsArn() == null) ? 0 : getBrowserSettingsArn().hashCode()); hashCode = prime * hashCode + ((getBrowserType() == null) ? 0 : getBrowserType().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getCustomerManagedKey() == null) ? 0 : getCustomerManagedKey().hashCode()); hashCode = prime * hashCode + ((getDisplayName() == null) ? 0 : getDisplayName().hashCode()); hashCode = prime * hashCode + ((getInstanceType() == null) ? 0 : getInstanceType().hashCode()); hashCode = prime * hashCode + ((getIpAccessSettingsArn() == null) ? 0 : getIpAccessSettingsArn().hashCode()); hashCode = prime * hashCode + ((getMaxConcurrentSessions() == null) ? 0 : getMaxConcurrentSessions().hashCode()); hashCode = prime * hashCode + ((getNetworkSettingsArn() == null) ? 0 : getNetworkSettingsArn().hashCode()); hashCode = prime * hashCode + ((getPortalArn() == null) ? 0 : getPortalArn().hashCode()); hashCode = prime * hashCode + ((getPortalEndpoint() == null) ? 0 : getPortalEndpoint().hashCode()); hashCode = prime * hashCode + ((getPortalStatus() == null) ? 0 : getPortalStatus().hashCode()); hashCode = prime * hashCode + ((getRendererType() == null) ? 0 : getRendererType().hashCode()); hashCode = prime * hashCode + ((getStatusReason() == null) ? 0 : getStatusReason().hashCode()); hashCode = prime * hashCode + ((getTrustStoreArn() == null) ? 0 : getTrustStoreArn().hashCode()); hashCode = prime * hashCode + ((getUserAccessLoggingSettingsArn() == null) ? 0 : getUserAccessLoggingSettingsArn().hashCode()); hashCode = prime * hashCode + ((getUserSettingsArn() == null) ? 0 : getUserSettingsArn().hashCode()); return hashCode; } @Override public Portal clone() { try { return (Portal) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.workspacesweb.model.transform.PortalMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy