public class SetPrincipalTagAttributeMapRequest extends AmazonWebServiceRequest implements java.io.Serializable
You can use this operation to use default (username and clientID) attribute or custom attribute mappings.
| Constructor and Description |
|---|
SetPrincipalTagAttributeMapRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetPrincipalTagAttributeMapRequest |
addPrincipalTagsEntry(java.lang.String key,
java.lang.String value)
You can use this operation to add principal tags.
|
SetPrincipalTagAttributeMapRequest |
clearPrincipalTagsEntries()
Removes all the entries added into PrincipalTags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentityPoolId()
The ID of the Identity Pool you want to set attribute mappings for.
|
java.lang.String |
getIdentityProviderName()
The provider name you want to use for attribute mappings.
|
java.util.Map<java.lang.String,java.lang.String> |
getPrincipalTags()
You can use this operation to add principal tags.
|
java.lang.Boolean |
getUseDefaults()
You can use this operation to use default (username and clientID)
attribute mappings.
|
int |
hashCode() |
java.lang.Boolean |
isUseDefaults()
You can use this operation to use default (username and clientID)
attribute mappings.
|
void |
setIdentityPoolId(java.lang.String identityPoolId)
The ID of the Identity Pool you want to set attribute mappings for.
|
void |
setIdentityProviderName(java.lang.String identityProviderName)
The provider name you want to use for attribute mappings.
|
void |
setPrincipalTags(java.util.Map<java.lang.String,java.lang.String> principalTags)
You can use this operation to add principal tags.
|
void |
setUseDefaults(java.lang.Boolean useDefaults)
You can use this operation to use default (username and clientID)
attribute mappings.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetPrincipalTagAttributeMapRequest |
withIdentityPoolId(java.lang.String identityPoolId)
The ID of the Identity Pool you want to set attribute mappings for.
|
SetPrincipalTagAttributeMapRequest |
withIdentityProviderName(java.lang.String identityProviderName)
The provider name you want to use for attribute mappings.
|
SetPrincipalTagAttributeMapRequest |
withPrincipalTags(java.util.Map<java.lang.String,java.lang.String> principalTags)
You can use this operation to add principal tags.
|
SetPrincipalTagAttributeMapRequest |
withUseDefaults(java.lang.Boolean useDefaults)
You can use this operation to use default (username and clientID)
attribute mappings.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getIdentityPoolId()
The ID of the Identity Pool you want to set attribute mappings for.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
The ID of the Identity Pool you want to set attribute mappings for.
public void setIdentityPoolId(java.lang.String identityPoolId)
The ID of the Identity Pool you want to set attribute mappings for.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - The ID of the Identity Pool you want to set attribute mappings for.
public SetPrincipalTagAttributeMapRequest withIdentityPoolId(java.lang.String identityPoolId)
The ID of the Identity Pool you want to set attribute mappings for.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - The ID of the Identity Pool you want to set attribute mappings for.
public java.lang.String getIdentityProviderName()
The provider name you want to use for attribute mappings.
Constraints:
Length: 1 - 128
The provider name you want to use for attribute mappings.
public void setIdentityProviderName(java.lang.String identityProviderName)
The provider name you want to use for attribute mappings.
Constraints:
Length: 1 - 128
identityProviderName - The provider name you want to use for attribute mappings.
public SetPrincipalTagAttributeMapRequest withIdentityProviderName(java.lang.String identityProviderName)
The provider name you want to use for attribute mappings.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
identityProviderName - The provider name you want to use for attribute mappings.
public java.lang.Boolean isUseDefaults()
You can use this operation to use default (username and clientID) attribute mappings.
You can use this operation to use default (username and clientID) attribute mappings.
public java.lang.Boolean getUseDefaults()
You can use this operation to use default (username and clientID) attribute mappings.
You can use this operation to use default (username and clientID) attribute mappings.
public void setUseDefaults(java.lang.Boolean useDefaults)
You can use this operation to use default (username and clientID) attribute mappings.
useDefaults - You can use this operation to use default (username and clientID) attribute mappings.
public SetPrincipalTagAttributeMapRequest withUseDefaults(java.lang.Boolean useDefaults)
You can use this operation to use default (username and clientID) attribute mappings.
Returns a reference to this object so that method calls can be chained together.
useDefaults - You can use this operation to use default (username and clientID) attribute mappings.
public java.util.Map<java.lang.String,java.lang.String> getPrincipalTags()
You can use this operation to add principal tags.
You can use this operation to add principal tags.
public void setPrincipalTags(java.util.Map<java.lang.String,java.lang.String> principalTags)
You can use this operation to add principal tags.
principalTags - You can use this operation to add principal tags.
public SetPrincipalTagAttributeMapRequest withPrincipalTags(java.util.Map<java.lang.String,java.lang.String> principalTags)
You can use this operation to add principal tags.
Returns a reference to this object so that method calls can be chained together.
principalTags - You can use this operation to add principal tags.
public SetPrincipalTagAttributeMapRequest addPrincipalTagsEntry(java.lang.String key, java.lang.String value)
You can use this operation to add principal tags.
The method adds a new key-value pair into PrincipalTags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into PrincipalTags.value - The corresponding value of the entry to be added into
PrincipalTags.public SetPrincipalTagAttributeMapRequest clearPrincipalTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object