Package com.exoscale.sdk.model
Class AccessKey
- java.lang.Object
-
- com.exoscale.sdk.model.AccessKey
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class AccessKey extends Object
IAM Access Key
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessKey.TypeEnum
IAM Access Key typestatic class
AccessKey.VersionEnum
IAM Access Key version
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_KEY
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_OPERATIONS
static String
JSON_PROPERTY_RESOURCES
static String
JSON_PROPERTY_SECRET
static String
JSON_PROPERTY_TAGS
static String
JSON_PROPERTY_TYPE
static String
JSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description AccessKey()
AccessKey(String secret, AccessKey.TypeEnum type)
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECRET
public static final String JSON_PROPERTY_SECRET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TAGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPERATIONS
public static final String JSON_PROPERTY_OPERATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESOURCES
public static final String JSON_PROPERTY_RESOURCES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AccessKey
public AccessKey()
-
AccessKey
public AccessKey(String secret, AccessKey.TypeEnum type)
-
-
Method Detail
-
getName
@Nullable public String getName()
IAM Access Key name- Returns:
- name
-
setName
public void setName(String name)
-
getKey
@Nullable public String getKey()
IAM Access Key- Returns:
- key
-
setKey
public void setKey(String key)
-
getSecret
@Nullable public String getSecret()
IAM Access Key Secret- Returns:
- secret
-
getType
@Nullable public AccessKey.TypeEnum getType()
IAM Access Key type- Returns:
- type
-
version
public AccessKey version(AccessKey.VersionEnum version)
-
getVersion
@Nullable public AccessKey.VersionEnum getVersion()
IAM Access Key version- Returns:
- version
-
setVersion
public void setVersion(AccessKey.VersionEnum version)
-
getOperations
@Nullable public List<String> getOperations()
IAM Access Key operations- Returns:
- operations
-
resources
public AccessKey resources(List<AccessKeyResource> resources)
-
addResourcesItem
public AccessKey addResourcesItem(AccessKeyResource resourcesItem)
-
getResources
@Nullable public List<AccessKeyResource> getResources()
IAM Access Key Resources- Returns:
- resources
-
setResources
public void setResources(List<AccessKeyResource> resources)
-
equals
public boolean equals(Object o)
Return true if this access-key object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-