
com.pulumi.azurenative.awsconnector.outputs.PrefixListIdResponse Maven / Gradle / Ivy
// *** 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.awsconnector.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 PrefixListIdResponse {
/**
* @return <p>A description for the security group rule that references this prefix list ID.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=;{}!$*</p>
*
*/
private @Nullable String description;
/**
* @return <p>The ID of the prefix.</p>
*
*/
private @Nullable String prefixListId;
private PrefixListIdResponse() {}
/**
* @return <p>A description for the security group rule that references this prefix list ID.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=;{}!$*</p>
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return <p>The ID of the prefix.</p>
*
*/
public Optional prefixListId() {
return Optional.ofNullable(this.prefixListId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrefixListIdResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private @Nullable String prefixListId;
public Builder() {}
public Builder(PrefixListIdResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.prefixListId = defaults.prefixListId;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder prefixListId(@Nullable String prefixListId) {
this.prefixListId = prefixListId;
return this;
}
public PrefixListIdResponse build() {
final var _resultValue = new PrefixListIdResponse();
_resultValue.description = description;
_resultValue.prefixListId = prefixListId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy