public class InstanceSummary
extends java.lang.Object
implements java.io.Serializable
Information about the instance.
Constructor and Description |
---|
InstanceSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the instance.
|
java.util.Date |
getCreatedTime()
When the instance was created.
|
java.lang.String |
getId()
The identifier of the instance.
|
java.lang.String |
getIdentityManagementType()
The identity management type of the instance.
|
java.lang.Boolean |
getInboundCallsEnabled()
Whether inbound calls are enabled.
|
java.lang.String |
getInstanceAlias()
The alias of the instance.
|
java.lang.String |
getInstanceStatus()
The state of the instance.
|
java.lang.Boolean |
getOutboundCallsEnabled()
Whether outbound calls are enabled.
|
java.lang.String |
getServiceRole()
The service role of the instance.
|
int |
hashCode() |
java.lang.Boolean |
isInboundCallsEnabled()
Whether inbound calls are enabled.
|
java.lang.Boolean |
isOutboundCallsEnabled()
Whether outbound calls are enabled.
|
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
|
void |
setCreatedTime(java.util.Date createdTime)
When the instance was created.
|
void |
setId(java.lang.String id)
The identifier of the instance.
|
void |
setIdentityManagementType(DirectoryType identityManagementType)
The identity management type of the instance.
|
void |
setIdentityManagementType(java.lang.String identityManagementType)
The identity management type of the instance.
|
void |
setInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
|
void |
setInstanceAlias(java.lang.String instanceAlias)
The alias of the instance.
|
void |
setInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
|
void |
setInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
|
void |
setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
|
void |
setServiceRole(java.lang.String serviceRole)
The service role of the instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceSummary |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
|
InstanceSummary |
withCreatedTime(java.util.Date createdTime)
When the instance was created.
|
InstanceSummary |
withId(java.lang.String id)
The identifier of the instance.
|
InstanceSummary |
withIdentityManagementType(DirectoryType identityManagementType)
The identity management type of the instance.
|
InstanceSummary |
withIdentityManagementType(java.lang.String identityManagementType)
The identity management type of the instance.
|
InstanceSummary |
withInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
|
InstanceSummary |
withInstanceAlias(java.lang.String instanceAlias)
The alias of the instance.
|
InstanceSummary |
withInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
|
InstanceSummary |
withInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
|
InstanceSummary |
withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
|
InstanceSummary |
withServiceRole(java.lang.String serviceRole)
The service role of the instance.
|
public java.lang.String getId()
The identifier of the instance.
Constraints:
Length: 1 - 100
The identifier of the instance.
public void setId(java.lang.String id)
The identifier of the instance.
Constraints:
Length: 1 - 100
id
- The identifier of the instance.
public InstanceSummary withId(java.lang.String id)
The identifier of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
id
- The identifier of the instance.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the instance.
The Amazon Resource Name (ARN) of the instance.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
arn
- The Amazon Resource Name (ARN) of the instance.
public InstanceSummary withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the instance.
public java.lang.String getIdentityManagementType()
The identity management type of the instance.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
The identity management type of the instance.
DirectoryType
public void setIdentityManagementType(java.lang.String identityManagementType)
The identity management type of the instance.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type of the instance.
DirectoryType
public InstanceSummary withIdentityManagementType(java.lang.String identityManagementType)
The identity management type of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type of the instance.
DirectoryType
public void setIdentityManagementType(DirectoryType identityManagementType)
The identity management type of the instance.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type of the instance.
DirectoryType
public InstanceSummary withIdentityManagementType(DirectoryType identityManagementType)
The identity management type of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type of the instance.
DirectoryType
public java.lang.String getInstanceAlias()
The alias of the instance.
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
The alias of the instance.
public void setInstanceAlias(java.lang.String instanceAlias)
The alias of the instance.
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
instanceAlias
- The alias of the instance.
public InstanceSummary withInstanceAlias(java.lang.String instanceAlias)
The alias of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
instanceAlias
- The alias of the instance.
public java.util.Date getCreatedTime()
When the instance was created.
When the instance was created.
public void setCreatedTime(java.util.Date createdTime)
When the instance was created.
createdTime
- When the instance was created.
public InstanceSummary withCreatedTime(java.util.Date createdTime)
When the instance was created.
Returns a reference to this object so that method calls can be chained together.
createdTime
- When the instance was created.
public java.lang.String getServiceRole()
The service role of the instance.
The service role of the instance.
public void setServiceRole(java.lang.String serviceRole)
The service role of the instance.
serviceRole
- The service role of the instance.
public InstanceSummary withServiceRole(java.lang.String serviceRole)
The service role of the instance.
Returns a reference to this object so that method calls can be chained together.
serviceRole
- The service role of the instance.
public java.lang.String getInstanceStatus()
The state of the instance.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
The state of the instance.
InstanceStatus
public void setInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public InstanceSummary withInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public void setInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public InstanceSummary withInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public java.lang.Boolean isInboundCallsEnabled()
Whether inbound calls are enabled.
Whether inbound calls are enabled.
public java.lang.Boolean getInboundCallsEnabled()
Whether inbound calls are enabled.
Whether inbound calls are enabled.
public void setInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
inboundCallsEnabled
- Whether inbound calls are enabled.
public InstanceSummary withInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
Returns a reference to this object so that method calls can be chained together.
inboundCallsEnabled
- Whether inbound calls are enabled.
public java.lang.Boolean isOutboundCallsEnabled()
Whether outbound calls are enabled.
Whether outbound calls are enabled.
public java.lang.Boolean getOutboundCallsEnabled()
Whether outbound calls are enabled.
Whether outbound calls are enabled.
public void setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
outboundCallsEnabled
- Whether outbound calls are enabled.
public InstanceSummary withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
Returns a reference to this object so that method calls can be chained together.
outboundCallsEnabled
- Whether outbound calls are enabled.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.