
com.pulumi.azurenative.devices.outputs.RoutingServiceBusQueueEndpointPropertiesResponse 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.devices.outputs;
import com.pulumi.azurenative.devices.outputs.ManagedIdentityResponse;
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 RoutingServiceBusQueueEndpointPropertiesResponse {
/**
* @return Method used to authenticate against the service bus queue endpoint
*
*/
private @Nullable String authenticationType;
/**
* @return The connection string of the service bus queue endpoint.
*
*/
private @Nullable String connectionString;
/**
* @return The url of the service bus queue endpoint. It must include the protocol sb://
*
*/
private @Nullable String endpointUri;
/**
* @return Queue name on the service bus namespace
*
*/
private @Nullable String entityPath;
/**
* @return Id of the service bus queue endpoint
*
*/
private @Nullable String id;
/**
* @return Managed identity properties of routing service bus queue endpoint.
*
*/
private @Nullable ManagedIdentityResponse identity;
/**
* @return The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name.
*
*/
private String name;
/**
* @return The name of the resource group of the service bus queue endpoint.
*
*/
private @Nullable String resourceGroup;
/**
* @return The subscription identifier of the service bus queue endpoint.
*
*/
private @Nullable String subscriptionId;
private RoutingServiceBusQueueEndpointPropertiesResponse() {}
/**
* @return Method used to authenticate against the service bus queue endpoint
*
*/
public Optional authenticationType() {
return Optional.ofNullable(this.authenticationType);
}
/**
* @return The connection string of the service bus queue endpoint.
*
*/
public Optional connectionString() {
return Optional.ofNullable(this.connectionString);
}
/**
* @return The url of the service bus queue endpoint. It must include the protocol sb://
*
*/
public Optional endpointUri() {
return Optional.ofNullable(this.endpointUri);
}
/**
* @return Queue name on the service bus namespace
*
*/
public Optional entityPath() {
return Optional.ofNullable(this.entityPath);
}
/**
* @return Id of the service bus queue endpoint
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Managed identity properties of routing service bus queue endpoint.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name.
*
*/
public String name() {
return this.name;
}
/**
* @return The name of the resource group of the service bus queue endpoint.
*
*/
public Optional resourceGroup() {
return Optional.ofNullable(this.resourceGroup);
}
/**
* @return The subscription identifier of the service bus queue endpoint.
*
*/
public Optional subscriptionId() {
return Optional.ofNullable(this.subscriptionId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RoutingServiceBusQueueEndpointPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authenticationType;
private @Nullable String connectionString;
private @Nullable String endpointUri;
private @Nullable String entityPath;
private @Nullable String id;
private @Nullable ManagedIdentityResponse identity;
private String name;
private @Nullable String resourceGroup;
private @Nullable String subscriptionId;
public Builder() {}
public Builder(RoutingServiceBusQueueEndpointPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.authenticationType = defaults.authenticationType;
this.connectionString = defaults.connectionString;
this.endpointUri = defaults.endpointUri;
this.entityPath = defaults.entityPath;
this.id = defaults.id;
this.identity = defaults.identity;
this.name = defaults.name;
this.resourceGroup = defaults.resourceGroup;
this.subscriptionId = defaults.subscriptionId;
}
@CustomType.Setter
public Builder authenticationType(@Nullable String authenticationType) {
this.authenticationType = authenticationType;
return this;
}
@CustomType.Setter
public Builder connectionString(@Nullable String connectionString) {
this.connectionString = connectionString;
return this;
}
@CustomType.Setter
public Builder endpointUri(@Nullable String endpointUri) {
this.endpointUri = endpointUri;
return this;
}
@CustomType.Setter
public Builder entityPath(@Nullable String entityPath) {
this.entityPath = entityPath;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ManagedIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("RoutingServiceBusQueueEndpointPropertiesResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder resourceGroup(@Nullable String resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
@CustomType.Setter
public Builder subscriptionId(@Nullable String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
public RoutingServiceBusQueueEndpointPropertiesResponse build() {
final var _resultValue = new RoutingServiceBusQueueEndpointPropertiesResponse();
_resultValue.authenticationType = authenticationType;
_resultValue.connectionString = connectionString;
_resultValue.endpointUri = endpointUri;
_resultValue.entityPath = entityPath;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.name = name;
_resultValue.resourceGroup = resourceGroup;
_resultValue.subscriptionId = subscriptionId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy