com.pulumi.akamai.outputs.GetPropertyRulesBuilderRulesV20240212BehaviorG2oheader 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.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPropertyRulesBuilderRulesV20240212BehaviorG2oheader {
/**
* @return Specifies the set of data to be encrypted as a combination of concatenated strings.
*
*/
private @Nullable List customSignStrings;
/**
* @return Specifies the name of the header that contains the request data that needs to be encrypted.
*
*/
private @Nullable String dataHeader;
/**
* @return Enables the g2o verification behavior.
*
*/
private @Nullable Boolean enabled;
/**
* @return Specifies the version of the encryption algorithm as an integer from `1` through `5`.
*
*/
private @Nullable Integer encodingVersion;
/**
* @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 Specifies the cryptographic `nonce` string.
*
*/
private @Nullable String nonce;
/**
* @return Specifies the shared secret key.
*
*/
private @Nullable String secretKey;
/**
* @return Specifies the name of the header containing encrypted request data.
*
*/
private @Nullable String signedHeader;
/**
* @return This option is for internal usage only.
*
*/
private @Nullable String templateUuid;
/**
* @return When disabled, the encrypted string is based on the forwarded URL. If enabled, you can use `customSignString` to customize the set of data to encrypt.
*
*/
private @Nullable Boolean useCustomSignString;
/**
* @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 GetPropertyRulesBuilderRulesV20240212BehaviorG2oheader() {}
/**
* @return Specifies the set of data to be encrypted as a combination of concatenated strings.
*
*/
public List customSignStrings() {
return this.customSignStrings == null ? List.of() : this.customSignStrings;
}
/**
* @return Specifies the name of the header that contains the request data that needs to be encrypted.
*
*/
public Optional dataHeader() {
return Optional.ofNullable(this.dataHeader);
}
/**
* @return Enables the g2o verification behavior.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return Specifies the version of the encryption algorithm as an integer from `1` through `5`.
*
*/
public Optional encodingVersion() {
return Optional.ofNullable(this.encodingVersion);
}
/**
* @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 Specifies the cryptographic `nonce` string.
*
*/
public Optional nonce() {
return Optional.ofNullable(this.nonce);
}
/**
* @return Specifies the shared secret key.
*
*/
public Optional secretKey() {
return Optional.ofNullable(this.secretKey);
}
/**
* @return Specifies the name of the header containing encrypted request data.
*
*/
public Optional signedHeader() {
return Optional.ofNullable(this.signedHeader);
}
/**
* @return This option is for internal usage only.
*
*/
public Optional templateUuid() {
return Optional.ofNullable(this.templateUuid);
}
/**
* @return When disabled, the encrypted string is based on the forwarded URL. If enabled, you can use `customSignString` to customize the set of data to encrypt.
*
*/
public Optional useCustomSignString() {
return Optional.ofNullable(this.useCustomSignString);
}
/**
* @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(GetPropertyRulesBuilderRulesV20240212BehaviorG2oheader defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List customSignStrings;
private @Nullable String dataHeader;
private @Nullable Boolean enabled;
private @Nullable Integer encodingVersion;
private @Nullable Boolean locked;
private @Nullable String nonce;
private @Nullable String secretKey;
private @Nullable String signedHeader;
private @Nullable String templateUuid;
private @Nullable Boolean useCustomSignString;
private @Nullable String uuid;
public Builder() {}
public Builder(GetPropertyRulesBuilderRulesV20240212BehaviorG2oheader defaults) {
Objects.requireNonNull(defaults);
this.customSignStrings = defaults.customSignStrings;
this.dataHeader = defaults.dataHeader;
this.enabled = defaults.enabled;
this.encodingVersion = defaults.encodingVersion;
this.locked = defaults.locked;
this.nonce = defaults.nonce;
this.secretKey = defaults.secretKey;
this.signedHeader = defaults.signedHeader;
this.templateUuid = defaults.templateUuid;
this.useCustomSignString = defaults.useCustomSignString;
this.uuid = defaults.uuid;
}
@CustomType.Setter
public Builder customSignStrings(@Nullable List customSignStrings) {
this.customSignStrings = customSignStrings;
return this;
}
public Builder customSignStrings(String... customSignStrings) {
return customSignStrings(List.of(customSignStrings));
}
@CustomType.Setter
public Builder dataHeader(@Nullable String dataHeader) {
this.dataHeader = dataHeader;
return this;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder encodingVersion(@Nullable Integer encodingVersion) {
this.encodingVersion = encodingVersion;
return this;
}
@CustomType.Setter
public Builder locked(@Nullable Boolean locked) {
this.locked = locked;
return this;
}
@CustomType.Setter
public Builder nonce(@Nullable String nonce) {
this.nonce = nonce;
return this;
}
@CustomType.Setter
public Builder secretKey(@Nullable String secretKey) {
this.secretKey = secretKey;
return this;
}
@CustomType.Setter
public Builder signedHeader(@Nullable String signedHeader) {
this.signedHeader = signedHeader;
return this;
}
@CustomType.Setter
public Builder templateUuid(@Nullable String templateUuid) {
this.templateUuid = templateUuid;
return this;
}
@CustomType.Setter
public Builder useCustomSignString(@Nullable Boolean useCustomSignString) {
this.useCustomSignString = useCustomSignString;
return this;
}
@CustomType.Setter
public Builder uuid(@Nullable String uuid) {
this.uuid = uuid;
return this;
}
public GetPropertyRulesBuilderRulesV20240212BehaviorG2oheader build() {
final var _resultValue = new GetPropertyRulesBuilderRulesV20240212BehaviorG2oheader();
_resultValue.customSignStrings = customSignStrings;
_resultValue.dataHeader = dataHeader;
_resultValue.enabled = enabled;
_resultValue.encodingVersion = encodingVersion;
_resultValue.locked = locked;
_resultValue.nonce = nonce;
_resultValue.secretKey = secretKey;
_resultValue.signedHeader = signedHeader;
_resultValue.templateUuid = templateUuid;
_resultValue.useCustomSignString = useCustomSignString;
_resultValue.uuid = uuid;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy