public InfrastructureConfigurationSummary withInstanceProfileName(String instanceProfileName) {
        setInstanceProfileName(instanceProfileName);
        return this;
    }
<p>
The instance profile of the infrastructure configuration.
</p>

@param instanceProfileName
       The instance profile of the infrastructure configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/InfrastructureConfigurationSummary.java