@Override
    public GetPasswordDataResult getPasswordData(GetPasswordDataRequest request) {
        request = beforeClientExecution(request);
        return executeGetPasswordData(request);
    }
<p>
Retrieves the encrypted administrator password for a running Windows instance.
</p>
<p>
The Windows password is generated at boot by the <code>EC2Config</code> service or <code>EC2Launch</code> scripts
(Windows Server 2016 and later). This usually only happens the first time an instance is launched. For more
information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingConfig_WinAMI.html">EC2Config</a> and <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch.html">EC2Launch</a> in the <i>Amazon EC2 User
Guide</i>.
</p>
<p>
For the <code>EC2Config</code> service, the password is not generated for rebundled AMIs unless
<code>Ec2SetPassword</code> is enabled before bundling.
</p>
<p>
The password is encrypted using the key pair that you specified when you launched the instance. You must provide
the corresponding key pair file.
</p>
<p>
When you launch an instance, password generation and encryption may take a few minutes. If you try to retrieve
the password before it's available, the output returns an empty string. We recommend that you wait up to 15
minutes after launching an instance before trying to retrieve the generated password.
</p>

@param getPasswordDataRequest
@return Result of the GetPasswordData operation returned by the service.
@sample AmazonEC2.GetPasswordData
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java