public FargateDetails withManagementType(String managementType) {
        setManagementType(managementType);
        return this;
    }
<p>
Indicates how the GuardDuty security agent is managed for this resource.
</p>
<ul>
<li>
<p>
<code>AUTO_MANAGED</code> indicates that GuardDuty deploys and manages updates for this resource.
</p>
</li>
<li>
<p>
<code>DISABLED</code> indicates that the deployment of the GuardDuty security agent is disabled for this
resource.
</p>
</li>
</ul>
<note>
<p>
The <code>MANUAL</code> status doesn't apply to the Amazon Web Services Fargate (Amazon ECS only) woprkloads.
</p>
</note>

@param managementType
       Indicates how the GuardDuty security agent is managed for this resource.</p>
       <ul>
       <li>
       <p>
       <code>AUTO_MANAGED</code> indicates that GuardDuty deploys and manages updates for this resource.
       </p>
       </li>
       <li>
       <p>
       <code>DISABLED</code> indicates that the deployment of the GuardDuty security agent is disabled for this
       resource.
       </p>
       </li>
       </ul>
       <note>
       <p>
       The <code>MANUAL</code> status doesn't apply to the Amazon Web Services Fargate (Amazon ECS only)
       woprkloads.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
@see ManagementType
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/FargateDetails.java