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

com.amazonaws.services.quicksight.model.SignupResponse Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon QuickSight module holds the client classes that are used for communicating with Amazon QuickSight 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.quicksight.model;

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

/**
 * 

* A SignupResponse object that contains a summary of a newly created account. *

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

* A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. *

*/ private Boolean iAMUser; /** *

* The user login name for your Amazon QuickSight account. *

*/ private String userLoginName; /** *

* The name of your Amazon QuickSight account. *

*/ private String accountName; /** *

* The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid values are * SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. *

*/ private String directoryType; /** *

* A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. *

* * @param iAMUser * A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. */ public void setIAMUser(Boolean iAMUser) { this.iAMUser = iAMUser; } /** *

* A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. *

* * @return A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. */ public Boolean getIAMUser() { return this.iAMUser; } /** *

* A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. *

* * @param iAMUser * A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. * @return Returns a reference to this object so that method calls can be chained together. */ public SignupResponse withIAMUser(Boolean iAMUser) { setIAMUser(iAMUser); return this; } /** *

* A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. *

* * @return A Boolean that is TRUE if the Amazon QuickSight uses IAM as an authentication method. */ public Boolean isIAMUser() { return this.iAMUser; } /** *

* The user login name for your Amazon QuickSight account. *

* * @param userLoginName * The user login name for your Amazon QuickSight account. */ public void setUserLoginName(String userLoginName) { this.userLoginName = userLoginName; } /** *

* The user login name for your Amazon QuickSight account. *

* * @return The user login name for your Amazon QuickSight account. */ public String getUserLoginName() { return this.userLoginName; } /** *

* The user login name for your Amazon QuickSight account. *

* * @param userLoginName * The user login name for your Amazon QuickSight account. * @return Returns a reference to this object so that method calls can be chained together. */ public SignupResponse withUserLoginName(String userLoginName) { setUserLoginName(userLoginName); return this; } /** *

* The name of your Amazon QuickSight account. *

* * @param accountName * The name of your Amazon QuickSight account. */ public void setAccountName(String accountName) { this.accountName = accountName; } /** *

* The name of your Amazon QuickSight account. *

* * @return The name of your Amazon QuickSight account. */ public String getAccountName() { return this.accountName; } /** *

* The name of your Amazon QuickSight account. *

* * @param accountName * The name of your Amazon QuickSight account. * @return Returns a reference to this object so that method calls can be chained together. */ public SignupResponse withAccountName(String accountName) { setAccountName(accountName); return this; } /** *

* The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid values are * SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. *

* * @param directoryType * The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid * values are SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. */ public void setDirectoryType(String directoryType) { this.directoryType = directoryType; } /** *

* The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid values are * SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. *

* * @return The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid * values are SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. */ public String getDirectoryType() { return this.directoryType; } /** *

* The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid values are * SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. *

* * @param directoryType * The type of Active Directory that is being used to authenticate the Amazon QuickSight account. Valid * values are SIMPLE_AD, AD_CONNECTOR, and MICROSOFT_AD. * @return Returns a reference to this object so that method calls can be chained together. */ public SignupResponse withDirectoryType(String directoryType) { setDirectoryType(directoryType); 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 (getIAMUser() != null) sb.append("IAMUser: ").append(getIAMUser()).append(","); if (getUserLoginName() != null) sb.append("UserLoginName: ").append(getUserLoginName()).append(","); if (getAccountName() != null) sb.append("AccountName: ").append(getAccountName()).append(","); if (getDirectoryType() != null) sb.append("DirectoryType: ").append(getDirectoryType()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SignupResponse == false) return false; SignupResponse other = (SignupResponse) obj; if (other.getIAMUser() == null ^ this.getIAMUser() == null) return false; if (other.getIAMUser() != null && other.getIAMUser().equals(this.getIAMUser()) == false) return false; if (other.getUserLoginName() == null ^ this.getUserLoginName() == null) return false; if (other.getUserLoginName() != null && other.getUserLoginName().equals(this.getUserLoginName()) == false) return false; if (other.getAccountName() == null ^ this.getAccountName() == null) return false; if (other.getAccountName() != null && other.getAccountName().equals(this.getAccountName()) == false) return false; if (other.getDirectoryType() == null ^ this.getDirectoryType() == null) return false; if (other.getDirectoryType() != null && other.getDirectoryType().equals(this.getDirectoryType()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIAMUser() == null) ? 0 : getIAMUser().hashCode()); hashCode = prime * hashCode + ((getUserLoginName() == null) ? 0 : getUserLoginName().hashCode()); hashCode = prime * hashCode + ((getAccountName() == null) ? 0 : getAccountName().hashCode()); hashCode = prime * hashCode + ((getDirectoryType() == null) ? 0 : getDirectoryType().hashCode()); return hashCode; } @Override public SignupResponse clone() { try { return (SignupResponse) 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.quicksight.model.transform.SignupResponseMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy