public CreateExperimentTemplateTargetInput withSelectionMode(String selectionMode) {
        setSelectionMode(selectionMode);
        return this;
    }
<p>
Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources.
All identified resources are included in the target.
</p>
<ul>
<li>
<p>
ALL - Run the action on all identified targets. This is the default.
</p>
</li>
<li>
<p>
COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For
example, COUNT(1) selects one of the targets.
</p>
</li>
<li>
<p>
PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random.
For example, PERCENT(25) selects 25% of the targets.
</p>
</li>
</ul>

@param selectionMode
       Scopes the identified resources to a specific count of the resources at random, or a percentage of the
       resources. All identified resources are included in the target.</p>
       <ul>
       <li>
       <p>
       ALL - Run the action on all identified targets. This is the default.
       </p>
       </li>
       <li>
       <p>
       COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at
       random. For example, COUNT(1) selects one of the targets.
       </p>
       </li>
       <li>
       <p>
       PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at
       random. For example, PERCENT(25) selects 25% of the targets.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/model/CreateExperimentTemplateTargetInput.java