Class ImportFirewallDomainsRequest

    • Method Detail

      • firewallDomainListId

        public final String firewallDomainListId()

        The ID of the domain list that you want to modify with the import operation.

        Returns:
        The ID of the domain list that you want to modify with the import operation.
      • operation

        public final FirewallDomainImportOperation operation()

        What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file.

        If the service returns an enum value that is not available in the current SDK version, operation will return FirewallDomainImportOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from operationAsString().

        Returns:
        What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file.
        See Also:
        FirewallDomainImportOperation
      • operationAsString

        public final String operationAsString()

        What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file.

        If the service returns an enum value that is not available in the current SDK version, operation will return FirewallDomainImportOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from operationAsString().

        Returns:
        What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file.
        See Also:
        FirewallDomainImportOperation
      • domainFileUrl

        public final String domainFileUrl()

        The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.

        The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.

        Returns:
        The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.

        The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.

      • toString

        public final String toString()
        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.
        Overrides:
        toString in class Object