public DeregisterContainerInstanceRequest withContainerInstance(String containerInstance) {
        setContainerInstance(containerInstance);
        return this;
    }
<p>
The container instance ID or full ARN of the container instance to deregister. For more information about the ARN
format, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids"
>Amazon Resource Name (ARN)</a> in the <i>Amazon ECS Developer Guide</i>.
</p>

@param containerInstance
       The container instance ID or full ARN of the container instance to deregister. For more information about
       the ARN format, see <a href=
       "https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids"
       >Amazon Resource Name (ARN)</a> in the <i>Amazon ECS Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/DeregisterContainerInstanceRequest.java