public void setDesiredState(String desiredState) {
        this.desiredState = desiredState;
    }
<p>
Structured data format representing the desired state of the resource, consisting of that resource's properties
and their desired values.
</p>
<note>
<p>
Cloud Control API currently supports JSON as a structured data format.
</p>
</note>
<p>
Specify the desired state as one of the following:
</p>
<ul>
<li>
<p>
A JSON blob
</p>
</li>
<li>
<p>
A local path containing the desired state in JSON data format
</p>
</li>
</ul>
<p>
For more information, see <a href=
"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate"
>Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.
</p>
<p>
For more information about the properties of a specific resource, refer to the related topic for the resource in
the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">
Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.
</p>

@param desiredState
       Structured data format representing the desired state of the resource, consisting of that resource's
       properties and their desired values.</p> <note>
       <p>
       Cloud Control API currently supports JSON as a structured data format.
       </p>
       </note>
       <p>
       Specify the desired state as one of the following:
       </p>
       <ul>
       <li>
       <p>
       A JSON blob
       </p>
       </li>
       <li>
       <p>
       A local path containing the desired state in JSON data format
       </p>
       </li>
       </ul>
       <p>
       For more information, see <a href=
       "https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate"
       >Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User
       Guide</i>.
       </p>
       <p>
       For more information about the properties of a specific resource, refer to the related topic for the
       resource in the <a href=
       "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html"
       >Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.
aws-java-sdk-cloudcontrolapi/src/main/java/com/amazonaws/services/cloudcontrolapi/model/CreateResourceRequest.java