com.pulumi.aws.vpc.outputs.SecurityGroupVpcAssociationTimeouts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.vpc.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 SecurityGroupVpcAssociationTimeouts {
/**
* @return A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
*
*/
private @Nullable String create;
/**
* @return A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
*
*/
private @Nullable String delete;
private SecurityGroupVpcAssociationTimeouts() {}
/**
* @return A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
*
*/
public Optional create() {
return Optional.ofNullable(this.create);
}
/**
* @return A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
*
*/
public Optional delete() {
return Optional.ofNullable(this.delete);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecurityGroupVpcAssociationTimeouts defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String create;
private @Nullable String delete;
public Builder() {}
public Builder(SecurityGroupVpcAssociationTimeouts defaults) {
Objects.requireNonNull(defaults);
this.create = defaults.create;
this.delete = defaults.delete;
}
@CustomType.Setter
public Builder create(@Nullable String create) {
this.create = create;
return this;
}
@CustomType.Setter
public Builder delete(@Nullable String delete) {
this.delete = delete;
return this;
}
public SecurityGroupVpcAssociationTimeouts build() {
final var _resultValue = new SecurityGroupVpcAssociationTimeouts();
_resultValue.create = create;
_resultValue.delete = delete;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy