com.pulumi.aws.mskconnect.outputs.GetWorkerConfigurationResult 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.aws.mskconnect.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetWorkerConfigurationResult {
/**
* @return the ARN of the worker configuration.
*
*/
private String arn;
/**
* @return a summary description of the worker configuration.
*
*/
private String description;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return an ID of the latest successfully created revision of the worker configuration.
*
*/
private Integer latestRevision;
private String name;
/**
* @return contents of connect-distributed.properties file.
*
*/
private String propertiesFileContent;
/**
* @return A map of tags assigned to the resource.
*
*/
private Map tags;
private GetWorkerConfigurationResult() {}
/**
* @return the ARN of the worker configuration.
*
*/
public String arn() {
return this.arn;
}
/**
* @return a summary description of the worker configuration.
*
*/
public String description() {
return this.description;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return an ID of the latest successfully created revision of the worker configuration.
*
*/
public Integer latestRevision() {
return this.latestRevision;
}
public String name() {
return this.name;
}
/**
* @return contents of connect-distributed.properties file.
*
*/
public String propertiesFileContent() {
return this.propertiesFileContent;
}
/**
* @return A map of tags assigned to the resource.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWorkerConfigurationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String description;
private String id;
private Integer latestRevision;
private String name;
private String propertiesFileContent;
private Map tags;
public Builder() {}
public Builder(GetWorkerConfigurationResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.description = defaults.description;
this.id = defaults.id;
this.latestRevision = defaults.latestRevision;
this.name = defaults.name;
this.propertiesFileContent = defaults.propertiesFileContent;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetWorkerConfigurationResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetWorkerConfigurationResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWorkerConfigurationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder latestRevision(Integer latestRevision) {
if (latestRevision == null) {
throw new MissingRequiredPropertyException("GetWorkerConfigurationResult", "latestRevision");
}
this.latestRevision = latestRevision;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWorkerConfigurationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder propertiesFileContent(String propertiesFileContent) {
if (propertiesFileContent == null) {
throw new MissingRequiredPropertyException("GetWorkerConfigurationResult", "propertiesFileContent");
}
this.propertiesFileContent = propertiesFileContent;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetWorkerConfigurationResult", "tags");
}
this.tags = tags;
return this;
}
public GetWorkerConfigurationResult build() {
final var _resultValue = new GetWorkerConfigurationResult();
_resultValue.arn = arn;
_resultValue.description = description;
_resultValue.id = id;
_resultValue.latestRevision = latestRevision;
_resultValue.name = name;
_resultValue.propertiesFileContent = propertiesFileContent;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy