Package org.jclouds.sts.options
Class FederatedUserOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.sts.options.FederatedUserOptions
-
- All Implemented Interfaces:
Cloneable
,HttpRequestOptions
public class FederatedUserOptions extends BaseHttpRequestOptions implements Cloneable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FederatedUserOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description FederatedUserOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.Multimap<String,String>
buildFormParameters()
Builds form parameters representing options.FederatedUserOptions
clone()
FederatedUserOptions
durationSeconds(long durationSeconds)
The duration, in seconds, that the credentials should remain valid.boolean
equals(Object obj)
int
hashCode()
FederatedUserOptions
policy(String policy)
A supplemental policy that can be associated with the temporary security credentials.String
toString()
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, replaceHeader
-
-
-
-
Method Detail
-
durationSeconds
public FederatedUserOptions durationSeconds(long durationSeconds)
The duration, in seconds, that the credentials should remain valid. 12 hours is default. 15 minutes is current minimum.
-
policy
public FederatedUserOptions policy(String policy)
A supplemental policy that can be associated with the temporary security credentials.
-
buildFormParameters
public com.google.common.collect.Multimap<String,String> buildFormParameters()
Description copied from interface:HttpRequestOptions
Builds form parameters representing options.- Specified by:
buildFormParameters
in interfaceHttpRequestOptions
- Overrides:
buildFormParameters
in classBaseHttpRequestOptions
- Returns:
- map that may contain query parameters.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseHttpRequestOptions
-
clone
public FederatedUserOptions clone()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseHttpRequestOptions
-
toString
public String toString()
- Overrides:
toString
in classBaseHttpRequestOptions
-
-