
com.pulumi.azurenative.scheduler.outputs.ServiceBusQueueMessageResponse 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.scheduler.outputs;
import com.pulumi.azurenative.scheduler.outputs.ServiceBusAuthenticationResponse;
import com.pulumi.azurenative.scheduler.outputs.ServiceBusBrokeredMessagePropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ServiceBusQueueMessageResponse {
/**
* @return Gets or sets the Service Bus authentication.
*
*/
private @Nullable ServiceBusAuthenticationResponse authentication;
/**
* @return Gets or sets the brokered message properties.
*
*/
private @Nullable ServiceBusBrokeredMessagePropertiesResponse brokeredMessageProperties;
/**
* @return Gets or sets the custom message properties.
*
*/
private @Nullable Map customMessageProperties;
/**
* @return Gets or sets the message.
*
*/
private @Nullable String message;
/**
* @return Gets or sets the namespace.
*
*/
private @Nullable String namespace;
/**
* @return Gets or sets the queue name.
*
*/
private @Nullable String queueName;
/**
* @return Gets or sets the transport type.
*
*/
private @Nullable String transportType;
private ServiceBusQueueMessageResponse() {}
/**
* @return Gets or sets the Service Bus authentication.
*
*/
public Optional authentication() {
return Optional.ofNullable(this.authentication);
}
/**
* @return Gets or sets the brokered message properties.
*
*/
public Optional brokeredMessageProperties() {
return Optional.ofNullable(this.brokeredMessageProperties);
}
/**
* @return Gets or sets the custom message properties.
*
*/
public Map customMessageProperties() {
return this.customMessageProperties == null ? Map.of() : this.customMessageProperties;
}
/**
* @return Gets or sets the message.
*
*/
public Optional message() {
return Optional.ofNullable(this.message);
}
/**
* @return Gets or sets the namespace.
*
*/
public Optional namespace() {
return Optional.ofNullable(this.namespace);
}
/**
* @return Gets or sets the queue name.
*
*/
public Optional queueName() {
return Optional.ofNullable(this.queueName);
}
/**
* @return Gets or sets the transport type.
*
*/
public Optional transportType() {
return Optional.ofNullable(this.transportType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceBusQueueMessageResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ServiceBusAuthenticationResponse authentication;
private @Nullable ServiceBusBrokeredMessagePropertiesResponse brokeredMessageProperties;
private @Nullable Map customMessageProperties;
private @Nullable String message;
private @Nullable String namespace;
private @Nullable String queueName;
private @Nullable String transportType;
public Builder() {}
public Builder(ServiceBusQueueMessageResponse defaults) {
Objects.requireNonNull(defaults);
this.authentication = defaults.authentication;
this.brokeredMessageProperties = defaults.brokeredMessageProperties;
this.customMessageProperties = defaults.customMessageProperties;
this.message = defaults.message;
this.namespace = defaults.namespace;
this.queueName = defaults.queueName;
this.transportType = defaults.transportType;
}
@CustomType.Setter
public Builder authentication(@Nullable ServiceBusAuthenticationResponse authentication) {
this.authentication = authentication;
return this;
}
@CustomType.Setter
public Builder brokeredMessageProperties(@Nullable ServiceBusBrokeredMessagePropertiesResponse brokeredMessageProperties) {
this.brokeredMessageProperties = brokeredMessageProperties;
return this;
}
@CustomType.Setter
public Builder customMessageProperties(@Nullable Map customMessageProperties) {
this.customMessageProperties = customMessageProperties;
return this;
}
@CustomType.Setter
public Builder message(@Nullable String message) {
this.message = message;
return this;
}
@CustomType.Setter
public Builder namespace(@Nullable String namespace) {
this.namespace = namespace;
return this;
}
@CustomType.Setter
public Builder queueName(@Nullable String queueName) {
this.queueName = queueName;
return this;
}
@CustomType.Setter
public Builder transportType(@Nullable String transportType) {
this.transportType = transportType;
return this;
}
public ServiceBusQueueMessageResponse build() {
final var _resultValue = new ServiceBusQueueMessageResponse();
_resultValue.authentication = authentication;
_resultValue.brokeredMessageProperties = brokeredMessageProperties;
_resultValue.customMessageProperties = customMessageProperties;
_resultValue.message = message;
_resultValue.namespace = namespace;
_resultValue.queueName = queueName;
_resultValue.transportType = transportType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy