com.pulumi.azurenative.web.outputs.WsdlDefinitionResponse 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.web.outputs;
import com.pulumi.azurenative.web.outputs.WsdlServiceResponse;
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 WsdlDefinitionResponse {
/**
* @return The WSDL content
*
*/
private @Nullable String content;
/**
* @return The WSDL import method
*
*/
private @Nullable String importMethod;
/**
* @return The service with name and endpoint names
*
*/
private @Nullable WsdlServiceResponse service;
/**
* @return The WSDL URL
*
*/
private @Nullable String url;
private WsdlDefinitionResponse() {}
/**
* @return The WSDL content
*
*/
public Optional content() {
return Optional.ofNullable(this.content);
}
/**
* @return The WSDL import method
*
*/
public Optional importMethod() {
return Optional.ofNullable(this.importMethod);
}
/**
* @return The service with name and endpoint names
*
*/
public Optional service() {
return Optional.ofNullable(this.service);
}
/**
* @return The WSDL URL
*
*/
public Optional url() {
return Optional.ofNullable(this.url);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WsdlDefinitionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String content;
private @Nullable String importMethod;
private @Nullable WsdlServiceResponse service;
private @Nullable String url;
public Builder() {}
public Builder(WsdlDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.content = defaults.content;
this.importMethod = defaults.importMethod;
this.service = defaults.service;
this.url = defaults.url;
}
@CustomType.Setter
public Builder content(@Nullable String content) {
this.content = content;
return this;
}
@CustomType.Setter
public Builder importMethod(@Nullable String importMethod) {
this.importMethod = importMethod;
return this;
}
@CustomType.Setter
public Builder service(@Nullable WsdlServiceResponse service) {
this.service = service;
return this;
}
@CustomType.Setter
public Builder url(@Nullable String url) {
this.url = url;
return this;
}
public WsdlDefinitionResponse build() {
final var _resultValue = new WsdlDefinitionResponse();
_resultValue.content = content;
_resultValue.importMethod = importMethod;
_resultValue.service = service;
_resultValue.url = url;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy