All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.storagegateway.model.DescribeSMBSettingsResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Storage Gateway module holds the client classes that are used for communicating with AWS Storage Gateway Service

The newest version!
/*
 * Copyright 2019-2024 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.storagegateway.model;

import java.io.Serializable;
import javax.annotation.Generated;

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

    private String gatewayARN;
    /**
     * 

* The name of the domain that the gateway is joined to. *

*/ private String domainName; /** *

* Indicates the status of a gateway that is a member of the Active Directory domain. *

*
    *
  • *

    * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an authentication * error. *

    *
  • *
  • *

    * DETACHED: Indicates that gateway is not joined to a domain. *

    *
  • *
  • *

    * JOINED: Indicates that the gateway has successfully joined a domain. *

    *
  • *
  • *

    * JOINING: Indicates that a JoinDomain operation is in progress. *

    *
  • *
  • *

    * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

    *
  • *
  • *

    * TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't * complete within the allotted time. *

    *
  • *
  • *

    * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of * error. *

    *
  • *
*/ private String activeDirectoryStatus; /** *

* This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways. *

*

* Valid Values: true | false *

*/ private Boolean sMBGuestPasswordSet; /** *

* The type of security strategy that was specified for file gateway. *

*
    *
  • *

    * ClientSpecified: If you choose this option, requests are established based on what is negotiated by * the client. This option is recommended when you want to maximize compatibility across different clients in your * environment. Supported only for S3 File Gateway. *

    *
  • *
  • *

    * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or * SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows * Server 2008, or later. *

    *
  • *
  • *

    * MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 * clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

    *
  • *
  • *

    * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from * SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

    *
  • *
*/ private String sMBSecurityStrategy; /** *

* The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. *

*/ private Boolean fileSharesVisible; /** *

* A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway. *

*/ private SMBLocalGroups sMBLocalGroups; /** * @param gatewayARN */ public void setGatewayARN(String gatewayARN) { this.gatewayARN = gatewayARN; } /** * @return */ public String getGatewayARN() { return this.gatewayARN; } /** * @param gatewayARN * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSMBSettingsResult withGatewayARN(String gatewayARN) { setGatewayARN(gatewayARN); return this; } /** *

* The name of the domain that the gateway is joined to. *

* * @param domainName * The name of the domain that the gateway is joined to. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** *

* The name of the domain that the gateway is joined to. *

* * @return The name of the domain that the gateway is joined to. */ public String getDomainName() { return this.domainName; } /** *

* The name of the domain that the gateway is joined to. *

* * @param domainName * The name of the domain that the gateway is joined to. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSMBSettingsResult withDomainName(String domainName) { setDomainName(domainName); return this; } /** *

* Indicates the status of a gateway that is a member of the Active Directory domain. *

*
    *
  • *

    * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an authentication * error. *

    *
  • *
  • *

    * DETACHED: Indicates that gateway is not joined to a domain. *

    *
  • *
  • *

    * JOINED: Indicates that the gateway has successfully joined a domain. *

    *
  • *
  • *

    * JOINING: Indicates that a JoinDomain operation is in progress. *

    *
  • *
  • *

    * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

    *
  • *
  • *

    * TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't * complete within the allotted time. *

    *
  • *
  • *

    * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of * error. *

    *
  • *
* * @param activeDirectoryStatus * Indicates the status of a gateway that is a member of the Active Directory domain.

*
    *
  • *

    * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an * authentication error. *

    *
  • *
  • *

    * DETACHED: Indicates that gateway is not joined to a domain. *

    *
  • *
  • *

    * JOINED: Indicates that the gateway has successfully joined a domain. *

    *
  • *
  • *

    * JOINING: Indicates that a JoinDomain operation is in progress. *

    *
  • *
  • *

    * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

    *
  • *
  • *

    * TIMEOUT: Indicates that the JoinDomain operation failed because the operation * didn't complete within the allotted time. *

    *
  • *
  • *

    * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another * type of error. *

    *
  • * @see ActiveDirectoryStatus */ public void setActiveDirectoryStatus(String activeDirectoryStatus) { this.activeDirectoryStatus = activeDirectoryStatus; } /** *

    * Indicates the status of a gateway that is a member of the Active Directory domain. *

    *
      *
    • *

      * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an authentication * error. *

      *
    • *
    • *

      * DETACHED: Indicates that gateway is not joined to a domain. *

      *
    • *
    • *

      * JOINED: Indicates that the gateway has successfully joined a domain. *

      *
    • *
    • *

      * JOINING: Indicates that a JoinDomain operation is in progress. *

      *
    • *
    • *

      * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

      *
    • *
    • *

      * TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't * complete within the allotted time. *

      *
    • *
    • *

      * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of * error. *

      *
    • *
    * * @return Indicates the status of a gateway that is a member of the Active Directory domain.

    *
      *
    • *

      * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an * authentication error. *

      *
    • *
    • *

      * DETACHED: Indicates that gateway is not joined to a domain. *

      *
    • *
    • *

      * JOINED: Indicates that the gateway has successfully joined a domain. *

      *
    • *
    • *

      * JOINING: Indicates that a JoinDomain operation is in progress. *

      *
    • *
    • *

      * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

      *
    • *
    • *

      * TIMEOUT: Indicates that the JoinDomain operation failed because the operation * didn't complete within the allotted time. *

      *
    • *
    • *

      * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another * type of error. *

      *
    • * @see ActiveDirectoryStatus */ public String getActiveDirectoryStatus() { return this.activeDirectoryStatus; } /** *

      * Indicates the status of a gateway that is a member of the Active Directory domain. *

      *
        *
      • *

        * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an authentication * error. *

        *
      • *
      • *

        * DETACHED: Indicates that gateway is not joined to a domain. *

        *
      • *
      • *

        * JOINED: Indicates that the gateway has successfully joined a domain. *

        *
      • *
      • *

        * JOINING: Indicates that a JoinDomain operation is in progress. *

        *
      • *
      • *

        * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

        *
      • *
      • *

        * TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't * complete within the allotted time. *

        *
      • *
      • *

        * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of * error. *

        *
      • *
      * * @param activeDirectoryStatus * Indicates the status of a gateway that is a member of the Active Directory domain.

      *
        *
      • *

        * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an * authentication error. *

        *
      • *
      • *

        * DETACHED: Indicates that gateway is not joined to a domain. *

        *
      • *
      • *

        * JOINED: Indicates that the gateway has successfully joined a domain. *

        *
      • *
      • *

        * JOINING: Indicates that a JoinDomain operation is in progress. *

        *
      • *
      • *

        * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

        *
      • *
      • *

        * TIMEOUT: Indicates that the JoinDomain operation failed because the operation * didn't complete within the allotted time. *

        *
      • *
      • *

        * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another * type of error. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see ActiveDirectoryStatus */ public DescribeSMBSettingsResult withActiveDirectoryStatus(String activeDirectoryStatus) { setActiveDirectoryStatus(activeDirectoryStatus); return this; } /** *

        * Indicates the status of a gateway that is a member of the Active Directory domain. *

        *
          *
        • *

          * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an authentication * error. *

          *
        • *
        • *

          * DETACHED: Indicates that gateway is not joined to a domain. *

          *
        • *
        • *

          * JOINED: Indicates that the gateway has successfully joined a domain. *

          *
        • *
        • *

          * JOINING: Indicates that a JoinDomain operation is in progress. *

          *
        • *
        • *

          * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

          *
        • *
        • *

          * TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't * complete within the allotted time. *

          *
        • *
        • *

          * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of * error. *

          *
        • *
        * * @param activeDirectoryStatus * Indicates the status of a gateway that is a member of the Active Directory domain.

        *
          *
        • *

          * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to an * authentication error. *

          *
        • *
        • *

          * DETACHED: Indicates that gateway is not joined to a domain. *

          *
        • *
        • *

          * JOINED: Indicates that the gateway has successfully joined a domain. *

          *
        • *
        • *

          * JOINING: Indicates that a JoinDomain operation is in progress. *

          *
        • *
        • *

          * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or * connectivity error. *

          *
        • *
        • *

          * TIMEOUT: Indicates that the JoinDomain operation failed because the operation * didn't complete within the allotted time. *

          *
        • *
        • *

          * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another * type of error. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see ActiveDirectoryStatus */ public DescribeSMBSettingsResult withActiveDirectoryStatus(ActiveDirectoryStatus activeDirectoryStatus) { this.activeDirectoryStatus = activeDirectoryStatus.toString(); return this; } /** *

          * This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways. *

          *

          * Valid Values: true | false *

          * * @param sMBGuestPasswordSet * This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways.

          *

          * Valid Values: true | false */ public void setSMBGuestPasswordSet(Boolean sMBGuestPasswordSet) { this.sMBGuestPasswordSet = sMBGuestPasswordSet; } /** *

          * This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways. *

          *

          * Valid Values: true | false *

          * * @return This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways.

          *

          * Valid Values: true | false */ public Boolean getSMBGuestPasswordSet() { return this.sMBGuestPasswordSet; } /** *

          * This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways. *

          *

          * Valid Values: true | false *

          * * @param sMBGuestPasswordSet * This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways.

          *

          * Valid Values: true | false * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSMBSettingsResult withSMBGuestPasswordSet(Boolean sMBGuestPasswordSet) { setSMBGuestPasswordSet(sMBGuestPasswordSet); return this; } /** *

          * This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways. *

          *

          * Valid Values: true | false *

          * * @return This value is true if a password for the guest user smbguest is set, otherwise * false. Only supported for S3 File Gateways.

          *

          * Valid Values: true | false */ public Boolean isSMBGuestPasswordSet() { return this.sMBGuestPasswordSet; } /** *

          * The type of security strategy that was specified for file gateway. *

          *
            *
          • *

            * ClientSpecified: If you choose this option, requests are established based on what is negotiated by * the client. This option is recommended when you want to maximize compatibility across different clients in your * environment. Supported only for S3 File Gateway. *

            *
          • *
          • *

            * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or * SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows * Server 2008, or later. *

            *
          • *
          • *

            * MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 * clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

            *
          • *
          • *

            * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from * SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

            *
          • *
          * * @param sMBSecurityStrategy * The type of security strategy that was specified for file gateway.

          *
            *
          • *

            * ClientSpecified: If you choose this option, requests are established based on what is * negotiated by the client. This option is recommended when you want to maximize compatibility across * different clients in your environment. Supported only for S3 File Gateway. *

            *
          • *
          • *

            * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 * or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows * Vista, Windows Server 2008, or later. *

            *
          • *
          • *

            * MandatoryEncryption: If you choose this option, File Gateway only allows connections from * SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option * is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows * 8, Windows Server 2012, or later. *

            *
          • *
          • *

            * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections * from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This * option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft * Windows 8, Windows Server 2012, or later. *

            *
          • * @see SMBSecurityStrategy */ public void setSMBSecurityStrategy(String sMBSecurityStrategy) { this.sMBSecurityStrategy = sMBSecurityStrategy; } /** *

            * The type of security strategy that was specified for file gateway. *

            *
              *
            • *

              * ClientSpecified: If you choose this option, requests are established based on what is negotiated by * the client. This option is recommended when you want to maximize compatibility across different clients in your * environment. Supported only for S3 File Gateway. *

              *
            • *
            • *

              * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or * SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows * Server 2008, or later. *

              *
            • *
            • *

              * MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 * clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

              *
            • *
            • *

              * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from * SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

              *
            • *
            * * @return The type of security strategy that was specified for file gateway.

            *
              *
            • *

              * ClientSpecified: If you choose this option, requests are established based on what is * negotiated by the client. This option is recommended when you want to maximize compatibility across * different clients in your environment. Supported only for S3 File Gateway. *

              *
            • *
            • *

              * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 * or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows * Vista, Windows Server 2008, or later. *

              *
            • *
            • *

              * MandatoryEncryption: If you choose this option, File Gateway only allows connections from * SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This * option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft * Windows 8, Windows Server 2012, or later. *

              *
            • *
            • *

              * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections * from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This * option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft * Windows 8, Windows Server 2012, or later. *

              *
            • * @see SMBSecurityStrategy */ public String getSMBSecurityStrategy() { return this.sMBSecurityStrategy; } /** *

              * The type of security strategy that was specified for file gateway. *

              *
                *
              • *

                * ClientSpecified: If you choose this option, requests are established based on what is negotiated by * the client. This option is recommended when you want to maximize compatibility across different clients in your * environment. Supported only for S3 File Gateway. *

                *
              • *
              • *

                * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or * SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows * Server 2008, or later. *

                *
              • *
              • *

                * MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 * clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

                *
              • *
              • *

                * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from * SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

                *
              • *
              * * @param sMBSecurityStrategy * The type of security strategy that was specified for file gateway.

              *
                *
              • *

                * ClientSpecified: If you choose this option, requests are established based on what is * negotiated by the client. This option is recommended when you want to maximize compatibility across * different clients in your environment. Supported only for S3 File Gateway. *

                *
              • *
              • *

                * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 * or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows * Vista, Windows Server 2008, or later. *

                *
              • *
              • *

                * MandatoryEncryption: If you choose this option, File Gateway only allows connections from * SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option * is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows * 8, Windows Server 2012, or later. *

                *
              • *
              • *

                * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections * from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This * option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft * Windows 8, Windows Server 2012, or later. *

                *
              • * @return Returns a reference to this object so that method calls can be chained together. * @see SMBSecurityStrategy */ public DescribeSMBSettingsResult withSMBSecurityStrategy(String sMBSecurityStrategy) { setSMBSecurityStrategy(sMBSecurityStrategy); return this; } /** *

                * The type of security strategy that was specified for file gateway. *

                *
                  *
                • *

                  * ClientSpecified: If you choose this option, requests are established based on what is negotiated by * the client. This option is recommended when you want to maximize compatibility across different clients in your * environment. Supported only for S3 File Gateway. *

                  *
                • *
                • *

                  * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or * SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows * Server 2008, or later. *

                  *
                • *
                • *

                  * MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 * clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

                  *
                • *
                • *

                  * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from * SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is * recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, * Windows Server 2012, or later. *

                  *
                • *
                * * @param sMBSecurityStrategy * The type of security strategy that was specified for file gateway.

                *
                  *
                • *

                  * ClientSpecified: If you choose this option, requests are established based on what is * negotiated by the client. This option is recommended when you want to maximize compatibility across * different clients in your environment. Supported only for S3 File Gateway. *

                  *
                • *
                • *

                  * MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 * or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows * Vista, Windows Server 2008, or later. *

                  *
                • *
                • *

                  * MandatoryEncryption: If you choose this option, File Gateway only allows connections from * SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option * is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows * 8, Windows Server 2012, or later. *

                  *
                • *
                • *

                  * MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections * from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This * option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft * Windows 8, Windows Server 2012, or later. *

                  *
                • * @return Returns a reference to this object so that method calls can be chained together. * @see SMBSecurityStrategy */ public DescribeSMBSettingsResult withSMBSecurityStrategy(SMBSecurityStrategy sMBSecurityStrategy) { this.sMBSecurityStrategy = sMBSecurityStrategy.toString(); return this; } /** *

                  * The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. *

                  * * @param fileSharesVisible * The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. */ public void setFileSharesVisible(Boolean fileSharesVisible) { this.fileSharesVisible = fileSharesVisible; } /** *

                  * The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. *

                  * * @return The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. */ public Boolean getFileSharesVisible() { return this.fileSharesVisible; } /** *

                  * The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. *

                  * * @param fileSharesVisible * The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSMBSettingsResult withFileSharesVisible(Boolean fileSharesVisible) { setFileSharesVisible(fileSharesVisible); return this; } /** *

                  * The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. *

                  * * @return The shares on this gateway appear when listing shares. Only supported for S3 File Gateways. */ public Boolean isFileSharesVisible() { return this.fileSharesVisible; } /** *

                  * A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway. *

                  * * @param sMBLocalGroups * A list of Active Directory users and groups that have special permissions for SMB file shares on the * gateway. */ public void setSMBLocalGroups(SMBLocalGroups sMBLocalGroups) { this.sMBLocalGroups = sMBLocalGroups; } /** *

                  * A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway. *

                  * * @return A list of Active Directory users and groups that have special permissions for SMB file shares on the * gateway. */ public SMBLocalGroups getSMBLocalGroups() { return this.sMBLocalGroups; } /** *

                  * A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway. *

                  * * @param sMBLocalGroups * A list of Active Directory users and groups that have special permissions for SMB file shares on the * gateway. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSMBSettingsResult withSMBLocalGroups(SMBLocalGroups sMBLocalGroups) { setSMBLocalGroups(sMBLocalGroups); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getGatewayARN() != null) sb.append("GatewayARN: ").append(getGatewayARN()).append(","); if (getDomainName() != null) sb.append("DomainName: ").append(getDomainName()).append(","); if (getActiveDirectoryStatus() != null) sb.append("ActiveDirectoryStatus: ").append(getActiveDirectoryStatus()).append(","); if (getSMBGuestPasswordSet() != null) sb.append("SMBGuestPasswordSet: ").append(getSMBGuestPasswordSet()).append(","); if (getSMBSecurityStrategy() != null) sb.append("SMBSecurityStrategy: ").append(getSMBSecurityStrategy()).append(","); if (getFileSharesVisible() != null) sb.append("FileSharesVisible: ").append(getFileSharesVisible()).append(","); if (getSMBLocalGroups() != null) sb.append("SMBLocalGroups: ").append(getSMBLocalGroups()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeSMBSettingsResult == false) return false; DescribeSMBSettingsResult other = (DescribeSMBSettingsResult) obj; if (other.getGatewayARN() == null ^ this.getGatewayARN() == null) return false; if (other.getGatewayARN() != null && other.getGatewayARN().equals(this.getGatewayARN()) == false) return false; if (other.getDomainName() == null ^ this.getDomainName() == null) return false; if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false) return false; if (other.getActiveDirectoryStatus() == null ^ this.getActiveDirectoryStatus() == null) return false; if (other.getActiveDirectoryStatus() != null && other.getActiveDirectoryStatus().equals(this.getActiveDirectoryStatus()) == false) return false; if (other.getSMBGuestPasswordSet() == null ^ this.getSMBGuestPasswordSet() == null) return false; if (other.getSMBGuestPasswordSet() != null && other.getSMBGuestPasswordSet().equals(this.getSMBGuestPasswordSet()) == false) return false; if (other.getSMBSecurityStrategy() == null ^ this.getSMBSecurityStrategy() == null) return false; if (other.getSMBSecurityStrategy() != null && other.getSMBSecurityStrategy().equals(this.getSMBSecurityStrategy()) == false) return false; if (other.getFileSharesVisible() == null ^ this.getFileSharesVisible() == null) return false; if (other.getFileSharesVisible() != null && other.getFileSharesVisible().equals(this.getFileSharesVisible()) == false) return false; if (other.getSMBLocalGroups() == null ^ this.getSMBLocalGroups() == null) return false; if (other.getSMBLocalGroups() != null && other.getSMBLocalGroups().equals(this.getSMBLocalGroups()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getGatewayARN() == null) ? 0 : getGatewayARN().hashCode()); hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode()); hashCode = prime * hashCode + ((getActiveDirectoryStatus() == null) ? 0 : getActiveDirectoryStatus().hashCode()); hashCode = prime * hashCode + ((getSMBGuestPasswordSet() == null) ? 0 : getSMBGuestPasswordSet().hashCode()); hashCode = prime * hashCode + ((getSMBSecurityStrategy() == null) ? 0 : getSMBSecurityStrategy().hashCode()); hashCode = prime * hashCode + ((getFileSharesVisible() == null) ? 0 : getFileSharesVisible().hashCode()); hashCode = prime * hashCode + ((getSMBLocalGroups() == null) ? 0 : getSMBLocalGroups().hashCode()); return hashCode; } @Override public DescribeSMBSettingsResult clone() { try { return (DescribeSMBSettingsResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy