
com.pulumi.azurenative.hybridnetwork.outputs.PublisherPropertiesFormatResponse 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.hybridnetwork.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PublisherPropertiesFormatResponse {
/**
* @return The provisioning state of the publisher resource.
*
*/
private String provisioningState;
/**
* @return The publisher scope.
*
*/
private @Nullable String scope;
private PublisherPropertiesFormatResponse() {}
/**
* @return The provisioning state of the publisher resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The publisher scope.
*
*/
public Optional scope() {
return Optional.ofNullable(this.scope);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PublisherPropertiesFormatResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String provisioningState;
private @Nullable String scope;
public Builder() {}
public Builder(PublisherPropertiesFormatResponse defaults) {
Objects.requireNonNull(defaults);
this.provisioningState = defaults.provisioningState;
this.scope = defaults.scope;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("PublisherPropertiesFormatResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder scope(@Nullable String scope) {
this.scope = scope;
return this;
}
public PublisherPropertiesFormatResponse build() {
final var _resultValue = new PublisherPropertiesFormatResponse();
_resultValue.provisioningState = provisioningState;
_resultValue.scope = scope;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy