/* * Copyright 2018-2023 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.finspace.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Configuration information when authentication mode is FEDERATED. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class FederationParameters implements Serializable, Cloneable, StructuredPojo { /** ** SAML 2.0 Metadata document from identity provider (IdP). *
*/ private String samlMetadataDocument; /** ** Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). *
*/ private String samlMetadataURL; /** ** The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration * (IdP). *
*/ private String applicationCallBackURL; /** ** The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider Entity * ID. *
*/ private String federationURN; /** ** Name of the identity provider (IdP). *
*/ private String federationProviderName; /** *
* SAML attribute name and value. The name must always be Email
and the value should be set to the
* attribute definition in which user email is set. For example, name would be Email
and value
* http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. Please check your SAML 2.0
* compliant identity provider (IdP) documentation for details.
*
* SAML 2.0 Metadata document from identity provider (IdP). *
* * @param samlMetadataDocument * SAML 2.0 Metadata document from identity provider (IdP). */ public void setSamlMetadataDocument(String samlMetadataDocument) { this.samlMetadataDocument = samlMetadataDocument; } /** ** SAML 2.0 Metadata document from identity provider (IdP). *
* * @return SAML 2.0 Metadata document from identity provider (IdP). */ public String getSamlMetadataDocument() { return this.samlMetadataDocument; } /** ** SAML 2.0 Metadata document from identity provider (IdP). *
* * @param samlMetadataDocument * SAML 2.0 Metadata document from identity provider (IdP). * @return Returns a reference to this object so that method calls can be chained together. */ public FederationParameters withSamlMetadataDocument(String samlMetadataDocument) { setSamlMetadataDocument(samlMetadataDocument); return this; } /** ** Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). *
* * @param samlMetadataURL * Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). */ public void setSamlMetadataURL(String samlMetadataURL) { this.samlMetadataURL = samlMetadataURL; } /** ** Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). *
* * @return Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). */ public String getSamlMetadataURL() { return this.samlMetadataURL; } /** ** Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). *
* * @param samlMetadataURL * Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). * @return Returns a reference to this object so that method calls can be chained together. */ public FederationParameters withSamlMetadataURL(String samlMetadataURL) { setSamlMetadataURL(samlMetadataURL); return this; } /** ** The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration * (IdP). *
* * @param applicationCallBackURL * The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider * configuration (IdP). */ public void setApplicationCallBackURL(String applicationCallBackURL) { this.applicationCallBackURL = applicationCallBackURL; } /** ** The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration * (IdP). *
* * @return The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider * configuration (IdP). */ public String getApplicationCallBackURL() { return this.applicationCallBackURL; } /** ** The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration * (IdP). *
* * @param applicationCallBackURL * The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider * configuration (IdP). * @return Returns a reference to this object so that method calls can be chained together. */ public FederationParameters withApplicationCallBackURL(String applicationCallBackURL) { setApplicationCallBackURL(applicationCallBackURL); return this; } /** ** The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider Entity * ID. *
* * @param federationURN * The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider * Entity ID. */ public void setFederationURN(String federationURN) { this.federationURN = federationURN; } /** ** The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider Entity * ID. *
* * @return The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service * Provider Entity ID. */ public String getFederationURN() { return this.federationURN; } /** ** The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider Entity * ID. *
* * @param federationURN * The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider * Entity ID. * @return Returns a reference to this object so that method calls can be chained together. */ public FederationParameters withFederationURN(String federationURN) { setFederationURN(federationURN); return this; } /** ** Name of the identity provider (IdP). *
* * @param federationProviderName * Name of the identity provider (IdP). */ public void setFederationProviderName(String federationProviderName) { this.federationProviderName = federationProviderName; } /** ** Name of the identity provider (IdP). *
* * @return Name of the identity provider (IdP). */ public String getFederationProviderName() { return this.federationProviderName; } /** ** Name of the identity provider (IdP). *
* * @param federationProviderName * Name of the identity provider (IdP). * @return Returns a reference to this object so that method calls can be chained together. */ public FederationParameters withFederationProviderName(String federationProviderName) { setFederationProviderName(federationProviderName); return this; } /** *
* SAML attribute name and value. The name must always be Email
and the value should be set to the
* attribute definition in which user email is set. For example, name would be Email
and value
* http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. Please check your SAML 2.0
* compliant identity provider (IdP) documentation for details.
*
Email
and the value should be set to
* the attribute definition in which user email is set. For example, name would be Email
and
* value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. Please check your
* SAML 2.0 compliant identity provider (IdP) documentation for details.
*/
public java.util.Map
* SAML attribute name and value. The name must always be Email
and the value should be set to the
* attribute definition in which user email is set. For example, name would be Email
and value
* http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. Please check your SAML 2.0
* compliant identity provider (IdP) documentation for details.
*
Email
and the value should be set to
* the attribute definition in which user email is set. For example, name would be Email
and
* value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. Please check your
* SAML 2.0 compliant identity provider (IdP) documentation for details.
*/
public void setAttributeMap(java.util.Map
* SAML attribute name and value. The name must always be Email
and the value should be set to the
* attribute definition in which user email is set. For example, name would be Email
and value
* http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. Please check your SAML 2.0
* compliant identity provider (IdP) documentation for details.
*
Email
and the value should be set to
* the attribute definition in which user email is set. For example, name would be Email
and
* value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. Please check your
* SAML 2.0 compliant identity provider (IdP) documentation for details.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public FederationParameters withAttributeMap(java.util.Map