com.pulumi.azurenative.servicelinker.outputs.DryrunOperationPreviewResponse 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.servicelinker.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 DryrunOperationPreviewResponse {
/**
* @return The action defined by RBAC, refer https://docs.microsoft.com/azure/role-based-access-control/role-definitions#actions-format
*
*/
private @Nullable String action;
/**
* @return The description of the operation
*
*/
private @Nullable String description;
/**
* @return The operation name
*
*/
private @Nullable String name;
/**
* @return The operation type
*
*/
private @Nullable String operationType;
/**
* @return The scope of the operation, refer https://docs.microsoft.com/azure/role-based-access-control/scope-overview
*
*/
private @Nullable String scope;
private DryrunOperationPreviewResponse() {}
/**
* @return The action defined by RBAC, refer https://docs.microsoft.com/azure/role-based-access-control/role-definitions#actions-format
*
*/
public Optional action() {
return Optional.ofNullable(this.action);
}
/**
* @return The description of the operation
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The operation name
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The operation type
*
*/
public Optional operationType() {
return Optional.ofNullable(this.operationType);
}
/**
* @return The scope of the operation, refer https://docs.microsoft.com/azure/role-based-access-control/scope-overview
*
*/
public Optional scope() {
return Optional.ofNullable(this.scope);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DryrunOperationPreviewResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String action;
private @Nullable String description;
private @Nullable String name;
private @Nullable String operationType;
private @Nullable String scope;
public Builder() {}
public Builder(DryrunOperationPreviewResponse defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.description = defaults.description;
this.name = defaults.name;
this.operationType = defaults.operationType;
this.scope = defaults.scope;
}
@CustomType.Setter
public Builder action(@Nullable String action) {
this.action = action;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder operationType(@Nullable String operationType) {
this.operationType = operationType;
return this;
}
@CustomType.Setter
public Builder scope(@Nullable String scope) {
this.scope = scope;
return this;
}
public DryrunOperationPreviewResponse build() {
final var _resultValue = new DryrunOperationPreviewResponse();
_resultValue.action = action;
_resultValue.description = description;
_resultValue.name = name;
_resultValue.operationType = operationType;
_resultValue.scope = scope;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy