public GetRegisterAccountStatusResult withAccountStatus(String accountStatus) {
        setAccountStatus(accountStatus);
        return this;
    }
<p>
The status of registering your account and resources. The status can be one of:
</p>
<ul>
<li>
<p>
<code>REGISTRATION_SUCCESS</code> - The Amazon Web Services resource is successfully registered.
</p>
</li>
<li>
<p>
<code>REGISTRATION_PENDING</code> - Amazon Web Services IoT FleetWise is processing the registration request.
This process takes approximately five minutes to complete.
</p>
</li>
<li>
<p>
<code>REGISTRATION_FAILURE</code> - Amazon Web Services IoT FleetWise can't register the AWS resource. Try again
later.
</p>
</li>
</ul>

@param accountStatus
       The status of registering your account and resources. The status can be one of:</p>
       <ul>
       <li>
       <p>
       <code>REGISTRATION_SUCCESS</code> - The Amazon Web Services resource is successfully registered.
       </p>
       </li>
       <li>
       <p>
       <code>REGISTRATION_PENDING</code> - Amazon Web Services IoT FleetWise is processing the registration
       request. This process takes approximately five minutes to complete.
       </p>
       </li>
       <li>
       <p>
       <code>REGISTRATION_FAILURE</code> - Amazon Web Services IoT FleetWise can't register the AWS resource. Try
       again later.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see RegistrationStatus
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/GetRegisterAccountStatusResult.java