
com.pulumi.azurenative.apimanagement.outputs.ApiContactInformationResponse 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.apimanagement.outputs;
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 ApiContactInformationResponse {
/**
* @return The email address of the contact person/organization. MUST be in the format of an email address
*
*/
private @Nullable String email;
/**
* @return The identifying name of the contact person/organization
*
*/
private @Nullable String name;
/**
* @return The URL pointing to the contact information. MUST be in the format of a URL
*
*/
private @Nullable String url;
private ApiContactInformationResponse() {}
/**
* @return The email address of the contact person/organization. MUST be in the format of an email address
*
*/
public Optional email() {
return Optional.ofNullable(this.email);
}
/**
* @return The identifying name of the contact person/organization
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The URL pointing to the contact information. MUST be in the format of a URL
*
*/
public Optional url() {
return Optional.ofNullable(this.url);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApiContactInformationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String email;
private @Nullable String name;
private @Nullable String url;
public Builder() {}
public Builder(ApiContactInformationResponse defaults) {
Objects.requireNonNull(defaults);
this.email = defaults.email;
this.name = defaults.name;
this.url = defaults.url;
}
@CustomType.Setter
public Builder email(@Nullable String email) {
this.email = email;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder url(@Nullable String url) {
this.url = url;
return this;
}
public ApiContactInformationResponse build() {
final var _resultValue = new ApiContactInformationResponse();
_resultValue.email = email;
_resultValue.name = name;
_resultValue.url = url;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy