Interface AuthorizerDescription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthorizerDescription.Builder,AuthorizerDescription>
,SdkBuilder<AuthorizerDescription.Builder,AuthorizerDescription>
,SdkPojo
- Enclosing class:
- AuthorizerDescription
public static interface AuthorizerDescription.Builder extends SdkPojo, CopyableBuilder<AuthorizerDescription.Builder,AuthorizerDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizerDescription.Builder
authorizerArn(String authorizerArn)
The authorizer ARN.AuthorizerDescription.Builder
authorizerFunctionArn(String authorizerFunctionArn)
The authorizer's Lambda function ARN.AuthorizerDescription.Builder
authorizerName(String authorizerName)
The authorizer name.AuthorizerDescription.Builder
creationDate(Instant creationDate)
The UNIX timestamp of when the authorizer was created.AuthorizerDescription.Builder
enableCachingForHttp(Boolean enableCachingForHttp)
Whentrue
, the result from the authorizer’s Lambda function is cached for the time specified inrefreshAfterInSeconds
.AuthorizerDescription.Builder
lastModifiedDate(Instant lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.AuthorizerDescription.Builder
signingDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.AuthorizerDescription.Builder
status(String status)
The status of the authorizer.AuthorizerDescription.Builder
status(AuthorizerStatus status)
The status of the authorizer.AuthorizerDescription.Builder
tokenKeyName(String tokenKeyName)
The key used to extract the token from the HTTP headers.AuthorizerDescription.Builder
tokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your custom authentication service.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
authorizerName
AuthorizerDescription.Builder authorizerName(String authorizerName)
The authorizer name.
- Parameters:
authorizerName
- The authorizer name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerArn
AuthorizerDescription.Builder authorizerArn(String authorizerArn)
The authorizer ARN.
- Parameters:
authorizerArn
- The authorizer ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerFunctionArn
AuthorizerDescription.Builder authorizerFunctionArn(String authorizerFunctionArn)
The authorizer's Lambda function ARN.
- Parameters:
authorizerFunctionArn
- The authorizer's Lambda function ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenKeyName
AuthorizerDescription.Builder tokenKeyName(String tokenKeyName)
The key used to extract the token from the HTTP headers.
- Parameters:
tokenKeyName
- The key used to extract the token from the HTTP headers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenSigningPublicKeys
AuthorizerDescription.Builder tokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your custom authentication service.
- Parameters:
tokenSigningPublicKeys
- The public keys used to validate the token signature returned by your custom authentication service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AuthorizerDescription.Builder status(String status)
The status of the authorizer.
- Parameters:
status
- The status of the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthorizerStatus
,AuthorizerStatus
-
status
AuthorizerDescription.Builder status(AuthorizerStatus status)
The status of the authorizer.
- Parameters:
status
- The status of the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthorizerStatus
,AuthorizerStatus
-
creationDate
AuthorizerDescription.Builder creationDate(Instant creationDate)
The UNIX timestamp of when the authorizer was created.
- Parameters:
creationDate
- The UNIX timestamp of when the authorizer was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
AuthorizerDescription.Builder lastModifiedDate(Instant lastModifiedDate)
The UNIX timestamp of when the authorizer was last updated.
- Parameters:
lastModifiedDate
- The UNIX timestamp of when the authorizer was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingDisabled
AuthorizerDescription.Builder signingDisabled(Boolean signingDisabled)
Specifies whether IoT validates the token signature in an authorization request.
- Parameters:
signingDisabled
- Specifies whether IoT validates the token signature in an authorization request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableCachingForHttp
AuthorizerDescription.Builder enableCachingForHttp(Boolean enableCachingForHttp)
When
true
, the result from the authorizer’s Lambda function is cached for the time specified inrefreshAfterInSeconds
. The cached result is used while the device reuses the same HTTP connection.- Parameters:
enableCachingForHttp
- Whentrue
, the result from the authorizer’s Lambda function is cached for the time specified inrefreshAfterInSeconds
. The cached result is used while the device reuses the same HTTP connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-