public class Attribute
extends java.lang.Object
implements java.io.Serializable
A toggle for an individual feature at the instance level.
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeType()
The type of attribute.
|
java.lang.String |
getValue()
The value of the attribute.
|
int |
hashCode() |
void |
setAttributeType(InstanceAttributeType attributeType)
The type of attribute.
|
void |
setAttributeType(java.lang.String attributeType)
The type of attribute.
|
void |
setValue(java.lang.String value)
The value of the attribute.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Attribute |
withAttributeType(InstanceAttributeType attributeType)
The type of attribute.
|
Attribute |
withAttributeType(java.lang.String attributeType)
The type of attribute.
|
Attribute |
withValue(java.lang.String value)
The value of the attribute.
|
public java.lang.String getAttributeType()
The type of attribute.
Constraints:
Allowed Values: INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS,
CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES,
EARLY_MEDIA
The type of attribute.
InstanceAttributeType
public void setAttributeType(java.lang.String attributeType)
The type of attribute.
Constraints:
Allowed Values: INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS,
CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES,
EARLY_MEDIA
attributeType
- The type of attribute.
InstanceAttributeType
public Attribute withAttributeType(java.lang.String attributeType)
The type of attribute.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS,
CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES,
EARLY_MEDIA
attributeType
- The type of attribute.
InstanceAttributeType
public void setAttributeType(InstanceAttributeType attributeType)
The type of attribute.
Constraints:
Allowed Values: INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS,
CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES,
EARLY_MEDIA
attributeType
- The type of attribute.
InstanceAttributeType
public Attribute withAttributeType(InstanceAttributeType attributeType)
The type of attribute.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS,
CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES,
EARLY_MEDIA
attributeType
- The type of attribute.
InstanceAttributeType
public java.lang.String getValue()
The value of the attribute.
Constraints:
Length: 1 - 100
The value of the attribute.
public void setValue(java.lang.String value)
The value of the attribute.
Constraints:
Length: 1 - 100
value
- The value of the attribute.
public Attribute withValue(java.lang.String value)
The value of the attribute.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
value
- The value of the attribute.
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.