com.pulumi.azurenative.testbase.outputs.SubscriptionReceiverValueResponse 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.testbase.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 SubscriptionReceiverValueResponse {
/**
* @return The role of the notification receiver.
*
*/
private @Nullable String role;
/**
* @return The subscription id of the notification receiver.
*
*/
private @Nullable String subscriptionId;
/**
* @return The subscription name of the notification receiver.
*
*/
private @Nullable String subscriptionName;
private SubscriptionReceiverValueResponse() {}
/**
* @return The role of the notification receiver.
*
*/
public Optional role() {
return Optional.ofNullable(this.role);
}
/**
* @return The subscription id of the notification receiver.
*
*/
public Optional subscriptionId() {
return Optional.ofNullable(this.subscriptionId);
}
/**
* @return The subscription name of the notification receiver.
*
*/
public Optional subscriptionName() {
return Optional.ofNullable(this.subscriptionName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SubscriptionReceiverValueResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String role;
private @Nullable String subscriptionId;
private @Nullable String subscriptionName;
public Builder() {}
public Builder(SubscriptionReceiverValueResponse defaults) {
Objects.requireNonNull(defaults);
this.role = defaults.role;
this.subscriptionId = defaults.subscriptionId;
this.subscriptionName = defaults.subscriptionName;
}
@CustomType.Setter
public Builder role(@Nullable String role) {
this.role = role;
return this;
}
@CustomType.Setter
public Builder subscriptionId(@Nullable String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
@CustomType.Setter
public Builder subscriptionName(@Nullable String subscriptionName) {
this.subscriptionName = subscriptionName;
return this;
}
public SubscriptionReceiverValueResponse build() {
final var _resultValue = new SubscriptionReceiverValueResponse();
_resultValue.role = role;
_resultValue.subscriptionId = subscriptionId;
_resultValue.subscriptionName = subscriptionName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy