com.pulumi.scm.outputs.GetApplicationSignature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scm Show documentation
Show all versions of scm Show documentation
A Pulumi package for managing resources on Strata Cloud Manager.
// *** 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.outputs.GetApplicationSignatureAndCondition;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetApplicationSignature {
/**
* @return The AndConditions param.
*
*/
private List andConditions;
/**
* @return The Comment param. String length must not exceed 256 characters.
*
*/
private String comment;
/**
* @return Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
*
*/
private String name;
/**
* @return The OrderFree param. Default: `false`.
*
*/
private Boolean orderFree;
/**
* @return The Scope param. String must be one of these: `"protocol-data-unit"`, `"session"`. Default: `"protocol-data-unit"`.
*
*/
private String scope;
private GetApplicationSignature() {}
/**
* @return The AndConditions param.
*
*/
public List andConditions() {
return this.andConditions;
}
/**
* @return The Comment param. String length must not exceed 256 characters.
*
*/
public String comment() {
return this.comment;
}
/**
* @return Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
*
*/
public String name() {
return this.name;
}
/**
* @return The OrderFree param. Default: `false`.
*
*/
public Boolean orderFree() {
return this.orderFree;
}
/**
* @return The Scope param. String must be one of these: `"protocol-data-unit"`, `"session"`. Default: `"protocol-data-unit"`.
*
*/
public String scope() {
return this.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplicationSignature defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List andConditions;
private String comment;
private String name;
private Boolean orderFree;
private String scope;
public Builder() {}
public Builder(GetApplicationSignature defaults) {
Objects.requireNonNull(defaults);
this.andConditions = defaults.andConditions;
this.comment = defaults.comment;
this.name = defaults.name;
this.orderFree = defaults.orderFree;
this.scope = defaults.scope;
}
@CustomType.Setter
public Builder andConditions(List andConditions) {
if (andConditions == null) {
throw new MissingRequiredPropertyException("GetApplicationSignature", "andConditions");
}
this.andConditions = andConditions;
return this;
}
public Builder andConditions(GetApplicationSignatureAndCondition... andConditions) {
return andConditions(List.of(andConditions));
}
@CustomType.Setter
public Builder comment(String comment) {
if (comment == null) {
throw new MissingRequiredPropertyException("GetApplicationSignature", "comment");
}
this.comment = comment;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetApplicationSignature", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder orderFree(Boolean orderFree) {
if (orderFree == null) {
throw new MissingRequiredPropertyException("GetApplicationSignature", "orderFree");
}
this.orderFree = orderFree;
return this;
}
@CustomType.Setter
public Builder scope(String scope) {
if (scope == null) {
throw new MissingRequiredPropertyException("GetApplicationSignature", "scope");
}
this.scope = scope;
return this;
}
public GetApplicationSignature build() {
final var _resultValue = new GetApplicationSignature();
_resultValue.andConditions = andConditions;
_resultValue.comment = comment;
_resultValue.name = name;
_resultValue.orderFree = orderFree;
_resultValue.scope = scope;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy