Class GetDataLakeSourcesResponse

    • Method Detail

      • dataLakeArn

        public final String dataLakeArn()

        The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the Amazon Security Lake User Guide.

        Returns:
        The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the Amazon Security Lake User Guide.
      • hasDataLakeSources

        public final boolean hasDataLakeSources()
        For responses, this returns true if the service returned a value for the DataLakeSources property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • dataLakeSources

        public final List<DataLakeSource> dataLakeSources()

        The list of enabled accounts and enabled sources.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasDataLakeSources() method.

        Returns:
        The list of enabled accounts and enabled sources.
      • nextToken

        public final String nextToken()

        Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

        Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

        Returns:
        Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

        Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

      • 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