public class SessionCredentialsOptions extends BaseHttpRequestOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
SessionCredentialsOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
SessionCredentialsOptions() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<String,String> |
buildFormParameters()
Builds form parameters representing options.
|
SessionCredentialsOptions |
clone() |
SessionCredentialsOptions |
durationSeconds(long durationSeconds)
The duration, in seconds, that the credentials should remain valid.
|
boolean |
equals(Object obj) |
int |
hashCode() |
SessionCredentialsOptions |
serialNumber(String serialNumber)
The identification number of the MFA device for the user.
|
SessionCredentialsOptions |
tokenCode(String tokenCode)
The value provided by the MFA device.
|
String |
toString() |
buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, replaceHeader
public SessionCredentialsOptions serialNumber(String serialNumber)
public SessionCredentialsOptions durationSeconds(long durationSeconds)
public SessionCredentialsOptions tokenCode(String tokenCode)
public com.google.common.collect.Multimap<String,String> buildFormParameters()
HttpRequestOptions
buildFormParameters
in interface HttpRequestOptions
buildFormParameters
in class BaseHttpRequestOptions
public int hashCode()
hashCode
in class BaseHttpRequestOptions
public SessionCredentialsOptions clone()
public boolean equals(Object obj)
equals
in class BaseHttpRequestOptions
public String toString()
toString
in class BaseHttpRequestOptions
Copyright © 2009-2013 jclouds. All Rights Reserved.