/// <summary> /// Instantiates InstanceGroupDetail with the parameterized properties /// </summary> /// <param name="instanceRole">Instance group role in the cluster</param> /// <param name="instanceType">EC2 instance type.</param> /// <param name="instanceRequestCount">Target number of instances to run in the instance group.</param> /// <param name="instanceRunningCount">Actual count of running instances.</param> /// <param name="state">State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.</param> /// <param name="creationDateTime">The date/time the instance group was created.</param> public InstanceGroupDetail(InstanceRoleType instanceRole, string instanceType, int instanceRequestCount, int instanceRunningCount, InstanceGroupState state, DateTime creationDateTime) { _instanceRole = instanceRole; _instanceType = instanceType; _instanceRequestCount = instanceRequestCount; _instanceRunningCount = instanceRunningCount; _state = state; _creationDateTime = creationDateTime; }
/// <summary> /// Instantiates InstanceGroupConfig with the parameterized properties /// </summary> /// <param name="instanceRole">The role of the instance group in the cluster.</param> /// <param name="instanceType">The Amazon EC2 instance type for all instances in the instance group. </param> /// <param name="instanceCount">Target number of instances for the instance group. </param> public InstanceGroupConfig(InstanceRoleType instanceRole, string instanceType, int instanceCount) { _instanceRole = instanceRole; _instanceType = instanceType; _instanceCount = instanceCount; }