
com.pulumi.azurenative.storage.outputs.AccessPolicyResponse 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.storage.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 AccessPolicyResponse {
/**
* @return Expiry time of the access policy
*
*/
private @Nullable String expiryTime;
/**
* @return List of abbreviated permissions.
*
*/
private @Nullable String permission;
/**
* @return Start time of the access policy
*
*/
private @Nullable String startTime;
private AccessPolicyResponse() {}
/**
* @return Expiry time of the access policy
*
*/
public Optional expiryTime() {
return Optional.ofNullable(this.expiryTime);
}
/**
* @return List of abbreviated permissions.
*
*/
public Optional permission() {
return Optional.ofNullable(this.permission);
}
/**
* @return Start time of the access policy
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AccessPolicyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String expiryTime;
private @Nullable String permission;
private @Nullable String startTime;
public Builder() {}
public Builder(AccessPolicyResponse defaults) {
Objects.requireNonNull(defaults);
this.expiryTime = defaults.expiryTime;
this.permission = defaults.permission;
this.startTime = defaults.startTime;
}
@CustomType.Setter
public Builder expiryTime(@Nullable String expiryTime) {
this.expiryTime = expiryTime;
return this;
}
@CustomType.Setter
public Builder permission(@Nullable String permission) {
this.permission = permission;
return this;
}
@CustomType.Setter
public Builder startTime(@Nullable String startTime) {
this.startTime = startTime;
return this;
}
public AccessPolicyResponse build() {
final var _resultValue = new AccessPolicyResponse();
_resultValue.expiryTime = expiryTime;
_resultValue.permission = permission;
_resultValue.startTime = startTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy