com.pulumi.aws.servicequotas.outputs.GetServiceResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.servicequotas.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetServiceResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Code of the service.
*
*/
private String serviceCode;
private String serviceName;
private GetServiceResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Code of the service.
*
*/
public String serviceCode() {
return this.serviceCode;
}
public String serviceName() {
return this.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServiceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String serviceCode;
private String serviceName;
public Builder() {}
public Builder(GetServiceResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.serviceCode = defaults.serviceCode;
this.serviceName = defaults.serviceName;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetServiceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder serviceCode(String serviceCode) {
if (serviceCode == null) {
throw new MissingRequiredPropertyException("GetServiceResult", "serviceCode");
}
this.serviceCode = serviceCode;
return this;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("GetServiceResult", "serviceName");
}
this.serviceName = serviceName;
return this;
}
public GetServiceResult build() {
final var _resultValue = new GetServiceResult();
_resultValue.id = id;
_resultValue.serviceCode = serviceCode;
_resultValue.serviceName = serviceName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy