public GetContainerServicePowersResult withPowers(ContainerServicePower... powers) {
        if (this.powers == null) {
            setPowers(new java.util.ArrayList<ContainerServicePower>(powers.length));
        }
        for (ContainerServicePower ele : powers) {
            this.powers.add(ele);
        }
        return this;
    }
<p>
An array of objects that describe the powers that can be specified for a container service.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPowers(java.util.Collection)} or {@link #withPowers(java.util.Collection)} if you want to override the
existing values.
</p>

@param powers
       An array of objects that describe the powers that can be specified for a container service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetContainerServicePowersResult.java