com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20240212BehaviorVerifyJsonWebToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of akamai Show documentation
Show all versions of akamai Show documentation
A Pulumi package for creating and managing akamai cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.akamai.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPropertyRulesBuilderRulesV20240212BehaviorVerifyJsonWebToken {
/**
* @return Verifies JWTs signed with the ES256 algorithm. This signature helps ensure that the token hasn't been tampered with.
*
*/
private @Nullable Boolean enableEs256;
/**
* @return Verifies JWTs signed with the RS256 algorithm. This signature helps ensure that the token hasn't been tampered with.
*
*/
private @Nullable Boolean enableRs256;
/**
* @return Specify from where to extract the JWT value.
*
*/
private @Nullable String extractLocation;
/**
* @return This specifies the name of the header from which to extract the JWT value.
*
*/
private @Nullable String headerName;
/**
* @return An identifier for the JWT keys collection.
*
*/
private @Nullable String jwt;
/**
* @return Indicates that your Akamai representative has locked this behavior or criteria so that you can't modify it. This option is for internal usage only.
*
*/
private @Nullable Boolean locked;
/**
* @return This specifies the name of the query parameter from which to extract the JWT value.
*
*/
private @Nullable String queryParameterName;
/**
* @return This option is for internal usage only.
*
*/
private @Nullable String templateUuid;
/**
* @return A uuid member indicates that at least one of its component behaviors or criteria is advanced and read-only. You need to preserve this uuid as well when modifying the rule tree. This option is for internal usage only.
*
*/
private @Nullable String uuid;
private GetPropertyRulesBuilderRulesV20240212BehaviorVerifyJsonWebToken() {}
/**
* @return Verifies JWTs signed with the ES256 algorithm. This signature helps ensure that the token hasn't been tampered with.
*
*/
public Optional enableEs256() {
return Optional.ofNullable(this.enableEs256);
}
/**
* @return Verifies JWTs signed with the RS256 algorithm. This signature helps ensure that the token hasn't been tampered with.
*
*/
public Optional enableRs256() {
return Optional.ofNullable(this.enableRs256);
}
/**
* @return Specify from where to extract the JWT value.
*
*/
public Optional extractLocation() {
return Optional.ofNullable(this.extractLocation);
}
/**
* @return This specifies the name of the header from which to extract the JWT value.
*
*/
public Optional headerName() {
return Optional.ofNullable(this.headerName);
}
/**
* @return An identifier for the JWT keys collection.
*
*/
public Optional jwt() {
return Optional.ofNullable(this.jwt);
}
/**
* @return Indicates that your Akamai representative has locked this behavior or criteria so that you can't modify it. This option is for internal usage only.
*
*/
public Optional locked() {
return Optional.ofNullable(this.locked);
}
/**
* @return This specifies the name of the query parameter from which to extract the JWT value.
*
*/
public Optional queryParameterName() {
return Optional.ofNullable(this.queryParameterName);
}
/**
* @return This option is for internal usage only.
*
*/
public Optional templateUuid() {
return Optional.ofNullable(this.templateUuid);
}
/**
* @return A uuid member indicates that at least one of its component behaviors or criteria is advanced and read-only. You need to preserve this uuid as well when modifying the rule tree. This option is for internal usage only.
*
*/
public Optional uuid() {
return Optional.ofNullable(this.uuid);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPropertyRulesBuilderRulesV20240212BehaviorVerifyJsonWebToken defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enableEs256;
private @Nullable Boolean enableRs256;
private @Nullable String extractLocation;
private @Nullable String headerName;
private @Nullable String jwt;
private @Nullable Boolean locked;
private @Nullable String queryParameterName;
private @Nullable String templateUuid;
private @Nullable String uuid;
public Builder() {}
public Builder(GetPropertyRulesBuilderRulesV20240212BehaviorVerifyJsonWebToken defaults) {
Objects.requireNonNull(defaults);
this.enableEs256 = defaults.enableEs256;
this.enableRs256 = defaults.enableRs256;
this.extractLocation = defaults.extractLocation;
this.headerName = defaults.headerName;
this.jwt = defaults.jwt;
this.locked = defaults.locked;
this.queryParameterName = defaults.queryParameterName;
this.templateUuid = defaults.templateUuid;
this.uuid = defaults.uuid;
}
@CustomType.Setter
public Builder enableEs256(@Nullable Boolean enableEs256) {
this.enableEs256 = enableEs256;
return this;
}
@CustomType.Setter
public Builder enableRs256(@Nullable Boolean enableRs256) {
this.enableRs256 = enableRs256;
return this;
}
@CustomType.Setter
public Builder extractLocation(@Nullable String extractLocation) {
this.extractLocation = extractLocation;
return this;
}
@CustomType.Setter
public Builder headerName(@Nullable String headerName) {
this.headerName = headerName;
return this;
}
@CustomType.Setter
public Builder jwt(@Nullable String jwt) {
this.jwt = jwt;
return this;
}
@CustomType.Setter
public Builder locked(@Nullable Boolean locked) {
this.locked = locked;
return this;
}
@CustomType.Setter
public Builder queryParameterName(@Nullable String queryParameterName) {
this.queryParameterName = queryParameterName;
return this;
}
@CustomType.Setter
public Builder templateUuid(@Nullable String templateUuid) {
this.templateUuid = templateUuid;
return this;
}
@CustomType.Setter
public Builder uuid(@Nullable String uuid) {
this.uuid = uuid;
return this;
}
public GetPropertyRulesBuilderRulesV20240212BehaviorVerifyJsonWebToken build() {
final var _resultValue = new GetPropertyRulesBuilderRulesV20240212BehaviorVerifyJsonWebToken();
_resultValue.enableEs256 = enableEs256;
_resultValue.enableRs256 = enableRs256;
_resultValue.extractLocation = extractLocation;
_resultValue.headerName = headerName;
_resultValue.jwt = jwt;
_resultValue.locked = locked;
_resultValue.queryParameterName = queryParameterName;
_resultValue.templateUuid = templateUuid;
_resultValue.uuid = uuid;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy