com.pulumi.azurenative.app.outputs.CookieExpirationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.app.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CookieExpirationResponse {
/**
* @return The convention used when determining the session cookie's expiration.
*
*/
private @Nullable String convention;
/**
* @return The time after the request is made when the session cookie should expire.
*
*/
private @Nullable String timeToExpiration;
private CookieExpirationResponse() {}
/**
* @return The convention used when determining the session cookie's expiration.
*
*/
public Optional convention() {
return Optional.ofNullable(this.convention);
}
/**
* @return The time after the request is made when the session cookie should expire.
*
*/
public Optional timeToExpiration() {
return Optional.ofNullable(this.timeToExpiration);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CookieExpirationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String convention;
private @Nullable String timeToExpiration;
public Builder() {}
public Builder(CookieExpirationResponse defaults) {
Objects.requireNonNull(defaults);
this.convention = defaults.convention;
this.timeToExpiration = defaults.timeToExpiration;
}
@CustomType.Setter
public Builder convention(@Nullable String convention) {
this.convention = convention;
return this;
}
@CustomType.Setter
public Builder timeToExpiration(@Nullable String timeToExpiration) {
this.timeToExpiration = timeToExpiration;
return this;
}
public CookieExpirationResponse build() {
final var _resultValue = new CookieExpirationResponse();
_resultValue.convention = convention;
_resultValue.timeToExpiration = timeToExpiration;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy