public ContainerGroupsConfiguration withDesiredReplicaContainerGroupsPerInstance(Integer desiredReplicaContainerGroupsPerInstance) {
        setDesiredReplicaContainerGroupsPerInstance(desiredReplicaContainerGroupsPerInstance);
        return this;
    }
<p>
The number of times to replicate the replica container group on each instance in a container fleet. By default,
Amazon GameLift calculates the maximum number of replica container groups that can fit on a fleet instance (based
on CPU and memory resources). Leave this parameter empty if you want to use the maximum number, or specify a
desired number to override the maximum. The desired number is used if it's less than the maximum number.
</p>

@param desiredReplicaContainerGroupsPerInstance
       The number of times to replicate the replica container group on each instance in a container fleet. By
       default, Amazon GameLift calculates the maximum number of replica container groups that can fit on a fleet
       instance (based on CPU and memory resources). Leave this parameter empty if you want to use the maximum
       number, or specify a desired number to override the maximum. The desired number is used if it's less than
       the maximum number.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ContainerGroupsConfiguration.java