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

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