
com.pulumi.azurenative.servicefabric.outputs.ServiceCorrelationResponse 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.servicefabric.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ServiceCorrelationResponse {
/**
* @return The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
*
*/
private String scheme;
/**
* @return The Arm Resource ID of the service that the correlation relationship is established with.
*
*/
private String serviceName;
private ServiceCorrelationResponse() {}
/**
* @return The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
*
*/
public String scheme() {
return this.scheme;
}
/**
* @return The Arm Resource ID of the service that the correlation relationship is established with.
*
*/
public String serviceName() {
return this.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceCorrelationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String scheme;
private String serviceName;
public Builder() {}
public Builder(ServiceCorrelationResponse defaults) {
Objects.requireNonNull(defaults);
this.scheme = defaults.scheme;
this.serviceName = defaults.serviceName;
}
@CustomType.Setter
public Builder scheme(String scheme) {
if (scheme == null) {
throw new MissingRequiredPropertyException("ServiceCorrelationResponse", "scheme");
}
this.scheme = scheme;
return this;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("ServiceCorrelationResponse", "serviceName");
}
this.serviceName = serviceName;
return this;
}
public ServiceCorrelationResponse build() {
final var _resultValue = new ServiceCorrelationResponse();
_resultValue.scheme = scheme;
_resultValue.serviceName = serviceName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy