Class FederationRequest
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.request.FederationRequest
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
MetadataRequest
,PingRequest
,RecordRequest
,UserDefinedFunctionRequest
public abstract class FederationRequest extends Object implements AutoCloseable
Base class for all user facing requests.
-
-
Constructor Summary
Constructors Constructor Description FederationRequest()
Constructs a new FederationRequest object with a null identity.FederationRequest(FederatedIdentity identity)
Constructs a new FederationRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FederatedIdentity
getIdentity()
Returns the identity of the caller.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Constructor Detail
-
FederationRequest
public FederationRequest()
Constructs a new FederationRequest object with a null identity.
-
FederationRequest
public FederationRequest(FederatedIdentity identity)
Constructs a new FederationRequest object.- Parameters:
identity
- The identity of the caller.
-
-
Method Detail
-
getIdentity
public FederatedIdentity getIdentity()
Returns the identity of the caller.- Returns:
- The identity of the caller.
-
-