@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutVoiceConnectorTerminationCredentialsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutVoiceConnectorTerminationCredentialsRequest() |
Modifier and Type | Method and Description |
---|---|
PutVoiceConnectorTerminationCredentialsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Credential> |
getCredentials()
The termination credentials being updated.
|
String |
getVoiceConnectorId()
The Voice Connector ID.
|
int |
hashCode() |
void |
setCredentials(Collection<Credential> credentials)
The termination credentials being updated.
|
void |
setVoiceConnectorId(String voiceConnectorId)
The Voice Connector ID.
|
String |
toString()
Returns a string representation of this object.
|
PutVoiceConnectorTerminationCredentialsRequest |
withCredentials(Collection<Credential> credentials)
The termination credentials being updated.
|
PutVoiceConnectorTerminationCredentialsRequest |
withCredentials(Credential... credentials)
The termination credentials being updated.
|
PutVoiceConnectorTerminationCredentialsRequest |
withVoiceConnectorId(String voiceConnectorId)
The Voice Connector ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PutVoiceConnectorTerminationCredentialsRequest()
public void setVoiceConnectorId(String voiceConnectorId)
The Voice Connector ID.
voiceConnectorId
- The Voice Connector ID.public String getVoiceConnectorId()
The Voice Connector ID.
public PutVoiceConnectorTerminationCredentialsRequest withVoiceConnectorId(String voiceConnectorId)
The Voice Connector ID.
voiceConnectorId
- The Voice Connector ID.public List<Credential> getCredentials()
The termination credentials being updated.
public void setCredentials(Collection<Credential> credentials)
The termination credentials being updated.
credentials
- The termination credentials being updated.public PutVoiceConnectorTerminationCredentialsRequest withCredentials(Credential... credentials)
The termination credentials being updated.
NOTE: This method appends the values to the existing list (if any). Use
setCredentials(java.util.Collection)
or withCredentials(java.util.Collection)
if you want to
override the existing values.
credentials
- The termination credentials being updated.public PutVoiceConnectorTerminationCredentialsRequest withCredentials(Collection<Credential> credentials)
The termination credentials being updated.
credentials
- The termination credentials being updated.public String toString()
toString
in class Object
Object.toString()
public PutVoiceConnectorTerminationCredentialsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()