
com.pulumi.azurenative.awsconnector.outputs.AttributeDefinitionResponse 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.awsconnector.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 AttributeDefinitionResponse {
/**
* @return A name for the attribute.
*
*/
private @Nullable String attributeName;
/**
* @return The data type for the attribute, where: + ``S`` - the attribute is of type String + ``N`` - the attribute is of type Number + ``B`` - the attribute is of type Binary
*
*/
private @Nullable String attributeType;
private AttributeDefinitionResponse() {}
/**
* @return A name for the attribute.
*
*/
public Optional attributeName() {
return Optional.ofNullable(this.attributeName);
}
/**
* @return The data type for the attribute, where: + ``S`` - the attribute is of type String + ``N`` - the attribute is of type Number + ``B`` - the attribute is of type Binary
*
*/
public Optional attributeType() {
return Optional.ofNullable(this.attributeType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AttributeDefinitionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String attributeName;
private @Nullable String attributeType;
public Builder() {}
public Builder(AttributeDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.attributeName = defaults.attributeName;
this.attributeType = defaults.attributeType;
}
@CustomType.Setter
public Builder attributeName(@Nullable String attributeName) {
this.attributeName = attributeName;
return this;
}
@CustomType.Setter
public Builder attributeType(@Nullable String attributeType) {
this.attributeType = attributeType;
return this;
}
public AttributeDefinitionResponse build() {
final var _resultValue = new AttributeDefinitionResponse();
_resultValue.attributeName = attributeName;
_resultValue.attributeType = attributeType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy