@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationProfile extends Object implements Serializable, Cloneable, StructuredPojo
This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Information about an authentication profile. An authentication profile is a resource that stores the authentication settings for users in your contact center. You use authentication profiles to set up IP address range restrictions and session timeouts. For more information, see Set IP address restrictions or session timeouts.
Constructor and Description |
---|
AuthenticationProfile() |
Modifier and Type | Method and Description |
---|---|
AuthenticationProfile |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedIps()
A list of IP address range strings that are allowed to access the Amazon Connect instance.
|
String |
getArn()
The Amazon Resource Name (ARN) for the authentication profile.
|
List<String> |
getBlockedIps()
A list of IP address range strings that are blocked from accessing the Amazon Connect instance.
|
Date |
getCreatedTime()
The timestamp when the authentication profile was created.
|
String |
getDescription()
The description for the authentication profile.
|
String |
getId()
A unique identifier for the authentication profile.
|
Boolean |
getIsDefault()
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance.
|
String |
getLastModifiedRegion()
The Amazon Web Services Region where the authentication profile was last modified.
|
Date |
getLastModifiedTime()
The timestamp when the authentication profile was last modified.
|
Integer |
getMaxSessionDuration()
The long lived session duration for users logged in to Amazon Connect, in minutes.
|
String |
getName()
The name for the authentication profile.
|
Integer |
getPeriodicSessionDuration()
The short lived session duration configuration for users logged in to Amazon Connect, in minutes.
|
int |
hashCode() |
Boolean |
isDefault()
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedIps(Collection<String> allowedIps)
A list of IP address range strings that are allowed to access the Amazon Connect instance.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the authentication profile.
|
void |
setBlockedIps(Collection<String> blockedIps)
A list of IP address range strings that are blocked from accessing the Amazon Connect instance.
|
void |
setCreatedTime(Date createdTime)
The timestamp when the authentication profile was created.
|
void |
setDescription(String description)
The description for the authentication profile.
|
void |
setId(String id)
A unique identifier for the authentication profile.
|
void |
setIsDefault(Boolean isDefault)
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance.
|
void |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where the authentication profile was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when the authentication profile was last modified.
|
void |
setMaxSessionDuration(Integer maxSessionDuration)
The long lived session duration for users logged in to Amazon Connect, in minutes.
|
void |
setName(String name)
The name for the authentication profile.
|
void |
setPeriodicSessionDuration(Integer periodicSessionDuration)
The short lived session duration configuration for users logged in to Amazon Connect, in minutes.
|
String |
toString()
Returns a string representation of this object.
|
AuthenticationProfile |
withAllowedIps(Collection<String> allowedIps)
A list of IP address range strings that are allowed to access the Amazon Connect instance.
|
AuthenticationProfile |
withAllowedIps(String... allowedIps)
A list of IP address range strings that are allowed to access the Amazon Connect instance.
|
AuthenticationProfile |
withArn(String arn)
The Amazon Resource Name (ARN) for the authentication profile.
|
AuthenticationProfile |
withBlockedIps(Collection<String> blockedIps)
A list of IP address range strings that are blocked from accessing the Amazon Connect instance.
|
AuthenticationProfile |
withBlockedIps(String... blockedIps)
A list of IP address range strings that are blocked from accessing the Amazon Connect instance.
|
AuthenticationProfile |
withCreatedTime(Date createdTime)
The timestamp when the authentication profile was created.
|
AuthenticationProfile |
withDescription(String description)
The description for the authentication profile.
|
AuthenticationProfile |
withId(String id)
A unique identifier for the authentication profile.
|
AuthenticationProfile |
withIsDefault(Boolean isDefault)
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance.
|
AuthenticationProfile |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where the authentication profile was last modified.
|
AuthenticationProfile |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the authentication profile was last modified.
|
AuthenticationProfile |
withMaxSessionDuration(Integer maxSessionDuration)
The long lived session duration for users logged in to Amazon Connect, in minutes.
|
AuthenticationProfile |
withName(String name)
The name for the authentication profile.
|
AuthenticationProfile |
withPeriodicSessionDuration(Integer periodicSessionDuration)
The short lived session duration configuration for users logged in to Amazon Connect, in minutes.
|
public void setId(String id)
A unique identifier for the authentication profile.
id
- A unique identifier for the authentication profile.public String getId()
A unique identifier for the authentication profile.
public AuthenticationProfile withId(String id)
A unique identifier for the authentication profile.
id
- A unique identifier for the authentication profile.public void setArn(String arn)
The Amazon Resource Name (ARN) for the authentication profile.
arn
- The Amazon Resource Name (ARN) for the authentication profile.public String getArn()
The Amazon Resource Name (ARN) for the authentication profile.
public AuthenticationProfile withArn(String arn)
The Amazon Resource Name (ARN) for the authentication profile.
arn
- The Amazon Resource Name (ARN) for the authentication profile.public void setName(String name)
The name for the authentication profile.
name
- The name for the authentication profile.public String getName()
The name for the authentication profile.
public AuthenticationProfile withName(String name)
The name for the authentication profile.
name
- The name for the authentication profile.public void setDescription(String description)
The description for the authentication profile.
description
- The description for the authentication profile.public String getDescription()
The description for the authentication profile.
public AuthenticationProfile withDescription(String description)
The description for the authentication profile.
description
- The description for the authentication profile.public List<String> getAllowedIps()
A list of IP address range strings that are allowed to access the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
public void setAllowedIps(Collection<String> allowedIps)
A list of IP address range strings that are allowed to access the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
allowedIps
- A list of IP address range strings that are allowed to access the Amazon Connect instance. For more
information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.public AuthenticationProfile withAllowedIps(String... allowedIps)
A list of IP address range strings that are allowed to access the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedIps(java.util.Collection)
or withAllowedIps(java.util.Collection)
if you want to
override the existing values.
allowedIps
- A list of IP address range strings that are allowed to access the Amazon Connect instance. For more
information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.public AuthenticationProfile withAllowedIps(Collection<String> allowedIps)
A list of IP address range strings that are allowed to access the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
allowedIps
- A list of IP address range strings that are allowed to access the Amazon Connect instance. For more
information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.public List<String> getBlockedIps()
A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
public void setBlockedIps(Collection<String> blockedIps)
A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
blockedIps
- A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more
information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.public AuthenticationProfile withBlockedIps(String... blockedIps)
A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
NOTE: This method appends the values to the existing list (if any). Use
setBlockedIps(java.util.Collection)
or withBlockedIps(java.util.Collection)
if you want to
override the existing values.
blockedIps
- A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more
information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.public AuthenticationProfile withBlockedIps(Collection<String> blockedIps)
A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
blockedIps
- A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more
information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.public void setIsDefault(Boolean isDefault)
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
isDefault
- Shows whether the authentication profile is the default authentication profile for the Amazon Connect
instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless
overridden by another authentication profile.public Boolean getIsDefault()
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
public AuthenticationProfile withIsDefault(Boolean isDefault)
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
isDefault
- Shows whether the authentication profile is the default authentication profile for the Amazon Connect
instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless
overridden by another authentication profile.public Boolean isDefault()
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
public void setCreatedTime(Date createdTime)
The timestamp when the authentication profile was created.
createdTime
- The timestamp when the authentication profile was created.public Date getCreatedTime()
The timestamp when the authentication profile was created.
public AuthenticationProfile withCreatedTime(Date createdTime)
The timestamp when the authentication profile was created.
createdTime
- The timestamp when the authentication profile was created.public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when the authentication profile was last modified.
lastModifiedTime
- The timestamp when the authentication profile was last modified.public Date getLastModifiedTime()
The timestamp when the authentication profile was last modified.
public AuthenticationProfile withLastModifiedTime(Date lastModifiedTime)
The timestamp when the authentication profile was last modified.
lastModifiedTime
- The timestamp when the authentication profile was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where the authentication profile was last modified.
lastModifiedRegion
- The Amazon Web Services Region where the authentication profile was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where the authentication profile was last modified.
public AuthenticationProfile withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where the authentication profile was last modified.
lastModifiedRegion
- The Amazon Web Services Region where the authentication profile was last modified.public void setPeriodicSessionDuration(Integer periodicSessionDuration)
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
periodicSessionDuration
- The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This
value determines the maximum possible time before an agent is authenticated. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.public Integer getPeriodicSessionDuration()
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
public AuthenticationProfile withPeriodicSessionDuration(Integer periodicSessionDuration)
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
periodicSessionDuration
- The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This
value determines the maximum possible time before an agent is authenticated. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.public void setMaxSessionDuration(Integer maxSessionDuration)
The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period, users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
maxSessionDuration
- The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period,
users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.public Integer getMaxSessionDuration()
The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period, users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
public AuthenticationProfile withMaxSessionDuration(Integer maxSessionDuration)
The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period, users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
maxSessionDuration
- The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period,
users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.public String toString()
toString
in class Object
Object.toString()
public AuthenticationProfile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.