com.pulumi.azurenative.apimanagement.outputs.PipelineDiagnosticSettingsResponse 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.apimanagement.outputs;
import com.pulumi.azurenative.apimanagement.outputs.HttpMessageDiagnosticResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PipelineDiagnosticSettingsResponse {
/**
* @return Diagnostic settings for request.
*
*/
private @Nullable HttpMessageDiagnosticResponse request;
/**
* @return Diagnostic settings for response.
*
*/
private @Nullable HttpMessageDiagnosticResponse response;
private PipelineDiagnosticSettingsResponse() {}
/**
* @return Diagnostic settings for request.
*
*/
public Optional request() {
return Optional.ofNullable(this.request);
}
/**
* @return Diagnostic settings for response.
*
*/
public Optional response() {
return Optional.ofNullable(this.response);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PipelineDiagnosticSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable HttpMessageDiagnosticResponse request;
private @Nullable HttpMessageDiagnosticResponse response;
public Builder() {}
public Builder(PipelineDiagnosticSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.request = defaults.request;
this.response = defaults.response;
}
@CustomType.Setter
public Builder request(@Nullable HttpMessageDiagnosticResponse request) {
this.request = request;
return this;
}
@CustomType.Setter
public Builder response(@Nullable HttpMessageDiagnosticResponse response) {
this.response = response;
return this;
}
public PipelineDiagnosticSettingsResponse build() {
final var _resultValue = new PipelineDiagnosticSettingsResponse();
_resultValue.request = request;
_resultValue.response = response;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy