Class Iam
- java.lang.Object
-
- com.stackone.stackone_client_java.Iam
-
- All Implemented Interfaces:
SDKMethodInterfaces.MethodCallIamDeleteUser,SDKMethodInterfaces.MethodCallIamGetGroup,SDKMethodInterfaces.MethodCallIamGetPolicy,SDKMethodInterfaces.MethodCallIamGetRole,SDKMethodInterfaces.MethodCallIamGetUser,SDKMethodInterfaces.MethodCallIamListGroups,SDKMethodInterfaces.MethodCallIamListPolicies,SDKMethodInterfaces.MethodCallIamListRoles,SDKMethodInterfaces.MethodCallIamListUsers,SDKMethodInterfaces.MethodCallIamUpdateUser
public class Iam extends java.lang.Object implements SDKMethodInterfaces.MethodCallIamListUsers, SDKMethodInterfaces.MethodCallIamGetUser, SDKMethodInterfaces.MethodCallIamDeleteUser, SDKMethodInterfaces.MethodCallIamUpdateUser, SDKMethodInterfaces.MethodCallIamListRoles, SDKMethodInterfaces.MethodCallIamGetRole, SDKMethodInterfaces.MethodCallIamListGroups, SDKMethodInterfaces.MethodCallIamGetGroup, SDKMethodInterfaces.MethodCallIamListPolicies, SDKMethodInterfaces.MethodCallIamGetPolicy
-
-
Method Summary
-
-
-
Method Detail
-
listUsers
public IamListUsersRequestBuilder listUsers()
List Users- Returns:
- The call builder
-
listUsers
public IamListUsersResponse listUsers(IamListUsersRequest request) throws java.lang.Exception
List Users- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listUsers
public IamListUsersResponse listUsers(IamListUsersRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Users- Specified by:
listUsersin interfaceSDKMethodInterfaces.MethodCallIamListUsers- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUser
public IamGetUserRequestBuilder getUser()
Get User- Returns:
- The call builder
-
getUser
public IamGetUserResponse getUser(IamGetUserRequest request) throws java.lang.Exception
Get User- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUser
public IamGetUserResponse getUser(IamGetUserRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get User- Specified by:
getUserin interfaceSDKMethodInterfaces.MethodCallIamGetUser- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
deleteUser
public IamDeleteUserRequestBuilder deleteUser()
Delete User- Returns:
- The call builder
-
deleteUser
public IamDeleteUserResponse deleteUser(java.lang.String xAccountId, java.lang.String id) throws java.lang.Exception
Delete User- Parameters:
xAccountId- The account identifierid-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
deleteUser
public IamDeleteUserResponse deleteUser(java.lang.String xAccountId, java.lang.String id, java.util.Optional<Options> options) throws java.lang.Exception
Delete User- Specified by:
deleteUserin interfaceSDKMethodInterfaces.MethodCallIamDeleteUser- Parameters:
xAccountId- The account identifierid-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateUser
public IamUpdateUserRequestBuilder updateUser()
Update User- Returns:
- The call builder
-
updateUser
public IamUpdateUserResponse updateUser(java.lang.String xAccountId, java.lang.String id, IamUpdateUserRequestDto iamUpdateUserRequestDto) throws java.lang.Exception
Update User- Parameters:
xAccountId- The account identifierid-iamUpdateUserRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateUser
public IamUpdateUserResponse updateUser(java.lang.String xAccountId, java.lang.String id, IamUpdateUserRequestDto iamUpdateUserRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Update User- Specified by:
updateUserin interfaceSDKMethodInterfaces.MethodCallIamUpdateUser- Parameters:
xAccountId- The account identifierid-iamUpdateUserRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listRoles
public IamListRolesRequestBuilder listRoles()
List Roles- Returns:
- The call builder
-
listRoles
public IamListRolesResponse listRoles(IamListRolesRequest request) throws java.lang.Exception
List Roles- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listRoles
public IamListRolesResponse listRoles(IamListRolesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Roles- Specified by:
listRolesin interfaceSDKMethodInterfaces.MethodCallIamListRoles- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getRole
public IamGetRoleRequestBuilder getRole()
Get Role- Returns:
- The call builder
-
getRole
public IamGetRoleResponse getRole(IamGetRoleRequest request) throws java.lang.Exception
Get Role- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getRole
public IamGetRoleResponse getRole(IamGetRoleRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Role- Specified by:
getRolein interfaceSDKMethodInterfaces.MethodCallIamGetRole- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listGroups
public IamListGroupsRequestBuilder listGroups()
List Groups- Returns:
- The call builder
-
listGroups
public IamListGroupsResponse listGroups(IamListGroupsRequest request) throws java.lang.Exception
List Groups- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listGroups
public IamListGroupsResponse listGroups(IamListGroupsRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Groups- Specified by:
listGroupsin interfaceSDKMethodInterfaces.MethodCallIamListGroups- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getGroup
public IamGetGroupRequestBuilder getGroup()
Get Group- Returns:
- The call builder
-
getGroup
public IamGetGroupResponse getGroup(IamGetGroupRequest request) throws java.lang.Exception
Get Group- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getGroup
public IamGetGroupResponse getGroup(IamGetGroupRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Group- Specified by:
getGroupin interfaceSDKMethodInterfaces.MethodCallIamGetGroup- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listPolicies
public IamListPoliciesRequestBuilder listPolicies()
List Policies- Returns:
- The call builder
-
listPolicies
public IamListPoliciesResponse listPolicies(IamListPoliciesRequest request) throws java.lang.Exception
List Policies- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listPolicies
public IamListPoliciesResponse listPolicies(IamListPoliciesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Policies- Specified by:
listPoliciesin interfaceSDKMethodInterfaces.MethodCallIamListPolicies- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getPolicy
public IamGetPolicyRequestBuilder getPolicy()
Get Policy- Returns:
- The call builder
-
getPolicy
public IamGetPolicyResponse getPolicy(IamGetPolicyRequest request) throws java.lang.Exception
Get Policy- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getPolicy
public IamGetPolicyResponse getPolicy(IamGetPolicyRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Policy- Specified by:
getPolicyin interfaceSDKMethodInterfaces.MethodCallIamGetPolicy- Parameters:
request- The request object containing all of the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-