com.pulumi.azurenative.security.outputs.GetStandardResult 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.security.outputs;
import com.pulumi.azurenative.security.outputs.StandardComponentPropertiesResponse;
import com.pulumi.azurenative.security.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetStandardResult {
/**
* @return category of the standard provided
*
*/
private @Nullable String category;
/**
* @return List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
*
*/
private @Nullable List components;
/**
* @return description of the standard
*
*/
private @Nullable String description;
/**
* @return display name of the standard, equivalent to the standardId
*
*/
private @Nullable String displayName;
/**
* @return Entity tag is used for comparing two or more entities from the same requested resource.
*
*/
private @Nullable String etag;
/**
* @return Resource Id
*
*/
private String id;
/**
* @return Kind of the resource
*
*/
private @Nullable String kind;
/**
* @return Location where the resource is stored
*
*/
private @Nullable String location;
/**
* @return Resource name
*
*/
private String name;
/**
* @return standard type (Custom or BuiltIn only currently)
*
*/
private String standardType;
/**
* @return List of all standard supported clouds.
*
*/
private @Nullable List supportedClouds;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return A list of key value pairs that describe the resource.
*
*/
private @Nullable Map tags;
/**
* @return Resource type
*
*/
private String type;
private GetStandardResult() {}
/**
* @return category of the standard provided
*
*/
public Optional category() {
return Optional.ofNullable(this.category);
}
/**
* @return List of component objects containing component unique keys (such as assessment keys) to apply to standard scope. Currently only supports assessment keys.
*
*/
public List components() {
return this.components == null ? List.of() : this.components;
}
/**
* @return description of the standard
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return display name of the standard, equivalent to the standardId
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return Entity tag is used for comparing two or more entities from the same requested resource.
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return Resource Id
*
*/
public String id() {
return this.id;
}
/**
* @return Kind of the resource
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
/**
* @return Location where the resource is stored
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return Resource name
*
*/
public String name() {
return this.name;
}
/**
* @return standard type (Custom or BuiltIn only currently)
*
*/
public String standardType() {
return this.standardType;
}
/**
* @return List of all standard supported clouds.
*
*/
public List supportedClouds() {
return this.supportedClouds == null ? List.of() : this.supportedClouds;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return A list of key value pairs that describe the resource.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Resource type
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStandardResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String category;
private @Nullable List components;
private @Nullable String description;
private @Nullable String displayName;
private @Nullable String etag;
private String id;
private @Nullable String kind;
private @Nullable String location;
private String name;
private String standardType;
private @Nullable List supportedClouds;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetStandardResult defaults) {
Objects.requireNonNull(defaults);
this.category = defaults.category;
this.components = defaults.components;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.etag = defaults.etag;
this.id = defaults.id;
this.kind = defaults.kind;
this.location = defaults.location;
this.name = defaults.name;
this.standardType = defaults.standardType;
this.supportedClouds = defaults.supportedClouds;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder category(@Nullable String category) {
this.category = category;
return this;
}
@CustomType.Setter
public Builder components(@Nullable List components) {
this.components = components;
return this;
}
public Builder components(StandardComponentPropertiesResponse... components) {
return components(List.of(components));
}
@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 etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetStandardResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetStandardResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder standardType(String standardType) {
if (standardType == null) {
throw new MissingRequiredPropertyException("GetStandardResult", "standardType");
}
this.standardType = standardType;
return this;
}
@CustomType.Setter
public Builder supportedClouds(@Nullable List supportedClouds) {
this.supportedClouds = supportedClouds;
return this;
}
public Builder supportedClouds(String... supportedClouds) {
return supportedClouds(List.of(supportedClouds));
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetStandardResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetStandardResult", "type");
}
this.type = type;
return this;
}
public GetStandardResult build() {
final var _resultValue = new GetStandardResult();
_resultValue.category = category;
_resultValue.components = components;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.kind = kind;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.standardType = standardType;
_resultValue.supportedClouds = supportedClouds;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy