@Generated(value="software.amazon.awssdk:codegen") public final class AuthorizerDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuthorizerDescription.Builder,AuthorizerDescription>
The authorizer description.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthorizerDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authorizerArn()
The authorizer ARN.
|
String |
authorizerFunctionArn()
The authorizer's Lambda function ARN.
|
String |
authorizerName()
The authorizer name.
|
static AuthorizerDescription.Builder |
builder() |
Instant |
creationDate()
The UNIX timestamp of when the authorizer was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTokenSigningPublicKeys()
Returns true if the TokenSigningPublicKeys property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
Instant |
lastModifiedDate()
The UNIX timestamp of when the authorizer was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuthorizerDescription.Builder> |
serializableBuilderClass() |
Boolean |
signingDisabled()
Specifies whether AWS IoT validates the token signature in an authorization request.
|
AuthorizerStatus |
status()
The status of the authorizer.
|
String |
statusAsString()
The status of the authorizer.
|
AuthorizerDescription.Builder |
toBuilder() |
String |
tokenKeyName()
The key used to extract the token from the HTTP headers.
|
Map<String,String> |
tokenSigningPublicKeys()
The public keys used to validate the token signature returned by your custom authentication service.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String authorizerName()
The authorizer name.
public String authorizerArn()
The authorizer ARN.
public String authorizerFunctionArn()
The authorizer's Lambda function ARN.
public String tokenKeyName()
The key used to extract the token from the HTTP headers.
public boolean hasTokenSigningPublicKeys()
public Map<String,String> tokenSigningPublicKeys()
The public keys used to validate the token signature returned by your custom authentication service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTokenSigningPublicKeys() to see if a value was sent in this field.
public AuthorizerStatus status()
The status of the authorizer.
If the service returns an enum value that is not available in the current SDK version, status will
return AuthorizerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AuthorizerStatuspublic String statusAsString()
The status of the authorizer.
If the service returns an enum value that is not available in the current SDK version, status will
return AuthorizerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AuthorizerStatuspublic Instant creationDate()
The UNIX timestamp of when the authorizer was created.
public Instant lastModifiedDate()
The UNIX timestamp of when the authorizer was last updated.
public Boolean signingDisabled()
Specifies whether AWS IoT validates the token signature in an authorization request.
public AuthorizerDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuthorizerDescription.Builder,AuthorizerDescription>public static AuthorizerDescription.Builder builder()
public static Class<? extends AuthorizerDescription.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.