/* * 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.fms.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Contains high level information about the Firewall Manager administrator account. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AdminAccountSummary implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Web Services account ID of the Firewall Manager administrator's account. *

*/ private String adminAccount; /** *

* A boolean value that indicates if the administrator is the default administrator. If true, then this is the * default administrator account. The default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per organization. For information about * Firewall Manager default administrator accounts, see Managing Firewall Manager * administrators in the Firewall Manager Developer Guide. *

*/ private Boolean defaultAdmin; /** *

* The current status of the request to onboard a member account as an Firewall Manager administator. *

* */ private String status; /** *

* The Amazon Web Services account ID of the Firewall Manager administrator's account. *

* * @param adminAccount * The Amazon Web Services account ID of the Firewall Manager administrator's account. */ public void setAdminAccount(String adminAccount) { this.adminAccount = adminAccount; } /** *

* The Amazon Web Services account ID of the Firewall Manager administrator's account. *

* * @return The Amazon Web Services account ID of the Firewall Manager administrator's account. */ public String getAdminAccount() { return this.adminAccount; } /** *

* The Amazon Web Services account ID of the Firewall Manager administrator's account. *

* * @param adminAccount * The Amazon Web Services account ID of the Firewall Manager administrator's account. * @return Returns a reference to this object so that method calls can be chained together. */ public AdminAccountSummary withAdminAccount(String adminAccount) { setAdminAccount(adminAccount); return this; } /** *

* A boolean value that indicates if the administrator is the default administrator. If true, then this is the * default administrator account. The default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per organization. For information about * Firewall Manager default administrator accounts, see Managing Firewall Manager * administrators in the Firewall Manager Developer Guide. *

* * @param defaultAdmin * A boolean value that indicates if the administrator is the default administrator. If true, then this is * the default administrator account. The default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per organization. For information * about Firewall Manager default administrator accounts, see Managing Firewall * Manager administrators in the Firewall Manager Developer Guide. */ public void setDefaultAdmin(Boolean defaultAdmin) { this.defaultAdmin = defaultAdmin; } /** *

* A boolean value that indicates if the administrator is the default administrator. If true, then this is the * default administrator account. The default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per organization. For information about * Firewall Manager default administrator accounts, see Managing Firewall Manager * administrators in the Firewall Manager Developer Guide. *

* * @return A boolean value that indicates if the administrator is the default administrator. If true, then this is * the default administrator account. The default administrator can manage third-party firewalls and has * full administrative scope. There is only one default administrator account per organization. For * information about Firewall Manager default administrator accounts, see Managing Firewall * Manager administrators in the Firewall Manager Developer Guide. */ public Boolean getDefaultAdmin() { return this.defaultAdmin; } /** *

* A boolean value that indicates if the administrator is the default administrator. If true, then this is the * default administrator account. The default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per organization. For information about * Firewall Manager default administrator accounts, see Managing Firewall Manager * administrators in the Firewall Manager Developer Guide. *

* * @param defaultAdmin * A boolean value that indicates if the administrator is the default administrator. If true, then this is * the default administrator account. The default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per organization. For information * about Firewall Manager default administrator accounts, see Managing Firewall * Manager administrators in the Firewall Manager Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public AdminAccountSummary withDefaultAdmin(Boolean defaultAdmin) { setDefaultAdmin(defaultAdmin); return this; } /** *

* A boolean value that indicates if the administrator is the default administrator. If true, then this is the * default administrator account. The default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per organization. For information about * Firewall Manager default administrator accounts, see Managing Firewall Manager * administrators in the Firewall Manager Developer Guide. *

* * @return A boolean value that indicates if the administrator is the default administrator. If true, then this is * the default administrator account. The default administrator can manage third-party firewalls and has * full administrative scope. There is only one default administrator account per organization. For * information about Firewall Manager default administrator accounts, see Managing Firewall * Manager administrators in the Firewall Manager Developer Guide. */ public Boolean isDefaultAdmin() { return this.defaultAdmin; } /** *

* The current status of the request to onboard a member account as an Firewall Manager administator. *

* * * @param status * The current status of the request to onboard a member account as an Firewall Manager administator.

*