/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iotfleetwise.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetRegisterAccountStatusResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The unique ID of the Amazon Web Services account, provided at account creation. *

*/ private String customerAccountId; /** *

* The status of registering your account and resources. The status can be one of: *

* */ private String accountStatus; /** *

* Information about the registered Amazon Timestream resources or errors, if any. *

*/ private TimestreamRegistrationResponse timestreamRegistrationResponse; /** *

* Information about the registered IAM resources or errors, if any. *

*/ private IamRegistrationResponse iamRegistrationResponse; /** *

* The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time). *

*/ private java.util.Date creationTime; /** *

* The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time). *

*/ private java.util.Date lastModificationTime; /** *

* The unique ID of the Amazon Web Services account, provided at account creation. *

* * @param customerAccountId * The unique ID of the Amazon Web Services account, provided at account creation. */ public void setCustomerAccountId(String customerAccountId) { this.customerAccountId = customerAccountId; } /** *

* The unique ID of the Amazon Web Services account, provided at account creation. *

* * @return The unique ID of the Amazon Web Services account, provided at account creation. */ public String getCustomerAccountId() { return this.customerAccountId; } /** *

* The unique ID of the Amazon Web Services account, provided at account creation. *

* * @param customerAccountId * The unique ID of the Amazon Web Services account, provided at account creation. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRegisterAccountStatusResult withCustomerAccountId(String customerAccountId) { setCustomerAccountId(customerAccountId); return this; } /** *

* The status of registering your account and resources. The status can be one of: *

* * * @param accountStatus * The status of registering your account and resources. The status can be one of:

*