public PhysicalResource withAppComponents(java.util.Collection<AppComponent> appComponents) {
        setAppComponents(appComponents);
        return this;
    }
<p>
The application components that belong to this resource.
</p>

@param appComponents
       The application components that belong to this resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/PhysicalResource.java