/** * <p> * The error code indicating the type of error that occurred. * </p> * * @param errorCode * The error code indicating the type of error that occurred. * @see ErrorCode */ public void setErrorCode(ErrorCode errorCode) { withErrorCode(errorCode); }
/** * <p> * A unique identifier in the format REGION:GUID. * </p> * * @param identityId * A unique identifier in the format REGION:GUID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCredentialsForIdentityResult withIdentityId(String identityId) { setIdentityId(identityId); return this; }
/** * <p> * A brief string that the claim must match, for example, "paid" or "yes". * </p> * * @param value * A brief string that the claim must match, for example, "paid" or "yes". * @return Returns a reference to this object so that method calls can be chained together. */ public MappingRule withValue(String value) { setValue(value); return this; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIdentityId() == null) ? 0 : getIdentityId().hashCode()); hashCode = prime * hashCode + ((getCredentials() == null) ? 0 : getCredentials().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getAmbiguousRoleResolution() == null) ? 0 : getAmbiguousRoleResolution().hashCode()); hashCode = prime * hashCode + ((getRulesConfiguration() == null) ? 0 : getRulesConfiguration().hashCode()); return hashCode; }
/** * <p> * A list of OpendID Connect provider ARNs. * </p> * * @param openIdConnectProviderARNs * A list of OpendID Connect provider ARNs. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateIdentityPoolRequest withOpenIdConnectProviderARNs(java.util.Collection<String> openIdConnectProviderARNs) { setOpenIdConnectProviderARNs(openIdConnectProviderARNs); return this; }
/** * <p> * A string that you provide. * </p> * * @param identityPoolName * A string that you provide. * @return Returns a reference to this object so that method calls can be chained together. */ public IdentityPoolShortDescription withIdentityPoolName(String identityPoolName) { setIdentityPoolName(identityPoolName); return this; }
/** * <p> * Provider names to unlink from this identity. * </p> * * @param loginsToRemove * Provider names to unlink from this identity. * @return Returns a reference to this object so that method calls can be chained together. */ public UnlinkIdentityRequest withLoginsToRemove(java.util.Collection<String> loginsToRemove) { setLoginsToRemove(loginsToRemove); return this; }
/** * <p> * An identity pool ID in the format REGION:GUID. * </p> * * @param identityPoolId * An identity pool ID in the format REGION:GUID. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateIdentityPoolResult withIdentityPoolId(String identityPoolId) { setIdentityPoolId(identityPoolId); return this; }
/** * <p> * A string that you provide. * </p> * * @param identityPoolName * A string that you provide. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateIdentityPoolResult withIdentityPoolName(String identityPoolName) { setIdentityPoolName(identityPoolName); return this; }
/** * <p> * An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool. * </p> * * @param samlProviderARNs * An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateIdentityPoolResult withSamlProviderARNs(java.util.Collection<String> samlProviderARNs) { setSamlProviderARNs(samlProviderARNs); return this; }
/** * <p> * An identity pool ID in the format REGION:GUID. * </p> * * @param identityPoolId * An identity pool ID in the format REGION:GUID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetIdentityPoolRolesResult withIdentityPoolId(String identityPoolId) { setIdentityPoolId(identityPoolId); return this; }
/** * <p> * A list representing an Amazon Cognito Identity User Pool and its client ID. * </p> * * @param cognitoIdentityProviders * A list representing an Amazon Cognito Identity User Pool and its client ID. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeIdentityPoolResult withCognitoIdentityProviders(java.util.Collection<CognitoIdentityProvider> cognitoIdentityProviders) { setCognitoIdentityProviders(cognitoIdentityProviders); return this; }
/** * <p> * An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool. * </p> * * @param samlProviderARNs * An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeIdentityPoolResult withSamlProviderARNs(java.util.Collection<String> samlProviderARNs) { setSamlProviderARNs(samlProviderARNs); return this; }
/** * <p> * The maximum number of identities to return. * </p> * * @param maxResults * The maximum number of identities to return. * @return Returns a reference to this object so that method calls can be chained together. */ public ListIdentitiesRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; }
/** * <p> * The maximum number of identities to return. * </p> * * @param maxResults * The maximum number of identities to return. * @return Returns a reference to this object so that method calls can be chained together. */ public ListIdentityPoolsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; }
/** * <p> * A pagination token. * </p> * * @param nextToken * A pagination token. * @return Returns a reference to this object so that method calls can be chained together. */ public ListIdentityPoolsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; }
/** * <p> * An identity pool ID in the format REGION:GUID. * </p> * * @param identityPoolId * An identity pool ID in the format REGION:GUID. * @return Returns a reference to this object so that method calls can be chained together. */ public UnlinkDeveloperIdentityRequest withIdentityPoolId(String identityPoolId) { setIdentityPoolId(identityPoolId); return this; }
/** * <p> * An identity pool ID in the format REGION:GUID. * </p> * * @param identityPoolId * An identity pool ID in the format REGION:GUID. * @return Returns a reference to this object so that method calls can be chained together. */ public MergeDeveloperIdentitiesRequest withIdentityPoolId(String identityPoolId) { setIdentityPoolId(identityPoolId); return this; }
/** * <p> * An identity pool ID in the format REGION:GUID. * </p> * * @param identityPoolId * An identity pool ID in the format REGION:GUID. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIdentityPoolRequest withIdentityPoolId(String identityPoolId) { setIdentityPoolId(identityPoolId); return this; }