public class AwsGroupRepo extends Object implements IAwsGroupRepo
Constructor and Description |
---|
AwsGroupRepo() |
Modifier and Type | Method and Description |
---|---|
ApiResponse<Boolean> |
deallocateInstance(String groupId,
String statefulInstanceId,
String accountId) |
ApiResponse<Boolean> |
detachInstance(String instanceId,
String accountId) |
ApiResponse<List<AwsInstanceType>> |
getAllInstanceTypes(String accountId) |
ApiResponse<AwsGroup> |
getGroup(String groupId,
String accountId) |
ApiResponse<List<AwsGroupInstance>> |
getGroupInstances(String groupId,
String accountId) |
ApiResponse<List<AwsStatefulInstance>> |
getStatefulInstances(String groupId,
String accountId) |
ApiResponse<AwsScaleUpResult> |
scaleUp(String groupId,
Integer adjustment,
String accountId) |
public ApiResponse<AwsGroup> getGroup(String groupId, String accountId)
getGroup
in interface IAwsGroupRepo
public ApiResponse<List<AwsGroupInstance>> getGroupInstances(String groupId, String accountId)
getGroupInstances
in interface IAwsGroupRepo
public ApiResponse<List<AwsStatefulInstance>> getStatefulInstances(String groupId, String accountId)
getStatefulInstances
in interface IAwsGroupRepo
public ApiResponse<Boolean> detachInstance(String instanceId, String accountId)
detachInstance
in interface IAwsGroupRepo
public ApiResponse<Boolean> deallocateInstance(String groupId, String statefulInstanceId, String accountId)
deallocateInstance
in interface IAwsGroupRepo
public ApiResponse<AwsScaleUpResult> scaleUp(String groupId, Integer adjustment, String accountId)
scaleUp
in interface IAwsGroupRepo
public ApiResponse<List<AwsInstanceType>> getAllInstanceTypes(String accountId)
getAllInstanceTypes
in interface IAwsGroupRepo
Copyright © 2016–2024. All rights reserved.