com.pulumi.azurenative.logic.outputs.ApiResourceGeneralInformationResponse 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.logic.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 ApiResourceGeneralInformationResponse {
/**
* @return The description.
*
*/
private @Nullable String description;
/**
* @return The display name.
*
*/
private @Nullable String displayName;
/**
* @return The icon url.
*
*/
private @Nullable String iconUrl;
/**
* @return The release tag.
*
*/
private @Nullable String releaseTag;
/**
* @return The terms of use url.
*
*/
private @Nullable String termsOfUseUrl;
/**
* @return The tier.
*
*/
private @Nullable String tier;
private ApiResourceGeneralInformationResponse() {}
/**
* @return The description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The display name.
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return The icon url.
*
*/
public Optional iconUrl() {
return Optional.ofNullable(this.iconUrl);
}
/**
* @return The release tag.
*
*/
public Optional releaseTag() {
return Optional.ofNullable(this.releaseTag);
}
/**
* @return The terms of use url.
*
*/
public Optional termsOfUseUrl() {
return Optional.ofNullable(this.termsOfUseUrl);
}
/**
* @return The tier.
*
*/
public Optional tier() {
return Optional.ofNullable(this.tier);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApiResourceGeneralInformationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private @Nullable String displayName;
private @Nullable String iconUrl;
private @Nullable String releaseTag;
private @Nullable String termsOfUseUrl;
private @Nullable String tier;
public Builder() {}
public Builder(ApiResourceGeneralInformationResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.displayName = defaults.displayName;
this.iconUrl = defaults.iconUrl;
this.releaseTag = defaults.releaseTag;
this.termsOfUseUrl = defaults.termsOfUseUrl;
this.tier = defaults.tier;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder iconUrl(@Nullable String iconUrl) {
this.iconUrl = iconUrl;
return this;
}
@CustomType.Setter
public Builder releaseTag(@Nullable String releaseTag) {
this.releaseTag = releaseTag;
return this;
}
@CustomType.Setter
public Builder termsOfUseUrl(@Nullable String termsOfUseUrl) {
this.termsOfUseUrl = termsOfUseUrl;
return this;
}
@CustomType.Setter
public Builder tier(@Nullable String tier) {
this.tier = tier;
return this;
}
public ApiResourceGeneralInformationResponse build() {
final var _resultValue = new ApiResourceGeneralInformationResponse();
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.iconUrl = iconUrl;
_resultValue.releaseTag = releaseTag;
_resultValue.termsOfUseUrl = termsOfUseUrl;
_resultValue.tier = tier;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy