All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.alicloud.oos.inputs.PatchBaselineState Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing AliCloud 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.alicloud.oos.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class PatchBaselineState extends com.pulumi.resources.ResourceArgs {
public static final PatchBaselineState Empty = new PatchBaselineState();
/**
* Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).
*
*/
@Import(name="approvalRules")
private @Nullable Output approvalRules;
/**
* @return Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).
*
*/
public Optional> approvalRules() {
return Optional.ofNullable(this.approvalRules);
}
/**
* Approved Patch.
*
*/
@Import(name="approvedPatches")
private @Nullable Output> approvedPatches;
/**
* @return Approved Patch.
*
*/
public Optional>> approvedPatches() {
return Optional.ofNullable(this.approvedPatches);
}
/**
* ApprovedPatchesEnableNonSecurity.
*
*/
@Import(name="approvedPatchesEnableNonSecurity")
private @Nullable Output approvedPatchesEnableNonSecurity;
/**
* @return ApprovedPatchesEnableNonSecurity.
*
*/
public Optional> approvedPatchesEnableNonSecurity() {
return Optional.ofNullable(this.approvedPatchesEnableNonSecurity);
}
/**
* Creation time.
*
*/
@Import(name="createTime")
private @Nullable Output createTime;
/**
* @return Creation time.
*
*/
public Optional> createTime() {
return Optional.ofNullable(this.createTime);
}
/**
* Patches baseline description information.
*
*/
@Import(name="description")
private @Nullable Output description;
/**
* @return Patches baseline description information.
*
*/
public Optional> description() {
return Optional.ofNullable(this.description);
}
/**
* Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.
*
*/
@Import(name="operationSystem")
private @Nullable Output operationSystem;
/**
* @return Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.
*
*/
public Optional> operationSystem() {
return Optional.ofNullable(this.operationSystem);
}
/**
* The name of the patch baseline.
*
*/
@Import(name="patchBaselineName")
private @Nullable Output patchBaselineName;
/**
* @return The name of the patch baseline.
*
*/
public Optional> patchBaselineName() {
return Optional.ofNullable(this.patchBaselineName);
}
/**
* Reject patches.
*
*/
@Import(name="rejectedPatches")
private @Nullable Output> rejectedPatches;
/**
* @return Reject patches.
*
*/
public Optional>> rejectedPatches() {
return Optional.ofNullable(this.rejectedPatches);
}
/**
* Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.
*
*/
@Import(name="rejectedPatchesAction")
private @Nullable Output rejectedPatchesAction;
/**
* @return Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.
*
*/
public Optional> rejectedPatchesAction() {
return Optional.ofNullable(this.rejectedPatchesAction);
}
/**
* The ID of the resource group.
*
*/
@Import(name="resourceGroupId")
private @Nullable Output resourceGroupId;
/**
* @return The ID of the resource group.
*
*/
public Optional> resourceGroupId() {
return Optional.ofNullable(this.resourceGroupId);
}
/**
* Source.
*
*/
@Import(name="sources")
private @Nullable Output> sources;
/**
* @return Source.
*
*/
public Optional>> sources() {
return Optional.ofNullable(this.sources);
}
/**
* Label.
*
*/
@Import(name="tags")
private @Nullable Output> tags;
/**
* @return Label.
*
*/
public Optional>> tags() {
return Optional.ofNullable(this.tags);
}
private PatchBaselineState() {}
private PatchBaselineState(PatchBaselineState $) {
this.approvalRules = $.approvalRules;
this.approvedPatches = $.approvedPatches;
this.approvedPatchesEnableNonSecurity = $.approvedPatchesEnableNonSecurity;
this.createTime = $.createTime;
this.description = $.description;
this.operationSystem = $.operationSystem;
this.patchBaselineName = $.patchBaselineName;
this.rejectedPatches = $.rejectedPatches;
this.rejectedPatchesAction = $.rejectedPatchesAction;
this.resourceGroupId = $.resourceGroupId;
this.sources = $.sources;
this.tags = $.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PatchBaselineState defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PatchBaselineState $;
public Builder() {
$ = new PatchBaselineState();
}
public Builder(PatchBaselineState defaults) {
$ = new PatchBaselineState(Objects.requireNonNull(defaults));
}
/**
* @param approvalRules Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).
*
* @return builder
*
*/
public Builder approvalRules(@Nullable Output approvalRules) {
$.approvalRules = approvalRules;
return this;
}
/**
* @param approvalRules Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).
*
* @return builder
*
*/
public Builder approvalRules(String approvalRules) {
return approvalRules(Output.of(approvalRules));
}
/**
* @param approvedPatches Approved Patch.
*
* @return builder
*
*/
public Builder approvedPatches(@Nullable Output> approvedPatches) {
$.approvedPatches = approvedPatches;
return this;
}
/**
* @param approvedPatches Approved Patch.
*
* @return builder
*
*/
public Builder approvedPatches(List approvedPatches) {
return approvedPatches(Output.of(approvedPatches));
}
/**
* @param approvedPatches Approved Patch.
*
* @return builder
*
*/
public Builder approvedPatches(String... approvedPatches) {
return approvedPatches(List.of(approvedPatches));
}
/**
* @param approvedPatchesEnableNonSecurity ApprovedPatchesEnableNonSecurity.
*
* @return builder
*
*/
public Builder approvedPatchesEnableNonSecurity(@Nullable Output approvedPatchesEnableNonSecurity) {
$.approvedPatchesEnableNonSecurity = approvedPatchesEnableNonSecurity;
return this;
}
/**
* @param approvedPatchesEnableNonSecurity ApprovedPatchesEnableNonSecurity.
*
* @return builder
*
*/
public Builder approvedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity) {
return approvedPatchesEnableNonSecurity(Output.of(approvedPatchesEnableNonSecurity));
}
/**
* @param createTime Creation time.
*
* @return builder
*
*/
public Builder createTime(@Nullable Output createTime) {
$.createTime = createTime;
return this;
}
/**
* @param createTime Creation time.
*
* @return builder
*
*/
public Builder createTime(String createTime) {
return createTime(Output.of(createTime));
}
/**
* @param description Patches baseline description information.
*
* @return builder
*
*/
public Builder description(@Nullable Output description) {
$.description = description;
return this;
}
/**
* @param description Patches baseline description information.
*
* @return builder
*
*/
public Builder description(String description) {
return description(Output.of(description));
}
/**
* @param operationSystem Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.
*
* @return builder
*
*/
public Builder operationSystem(@Nullable Output operationSystem) {
$.operationSystem = operationSystem;
return this;
}
/**
* @param operationSystem Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.
*
* @return builder
*
*/
public Builder operationSystem(String operationSystem) {
return operationSystem(Output.of(operationSystem));
}
/**
* @param patchBaselineName The name of the patch baseline.
*
* @return builder
*
*/
public Builder patchBaselineName(@Nullable Output patchBaselineName) {
$.patchBaselineName = patchBaselineName;
return this;
}
/**
* @param patchBaselineName The name of the patch baseline.
*
* @return builder
*
*/
public Builder patchBaselineName(String patchBaselineName) {
return patchBaselineName(Output.of(patchBaselineName));
}
/**
* @param rejectedPatches Reject patches.
*
* @return builder
*
*/
public Builder rejectedPatches(@Nullable Output> rejectedPatches) {
$.rejectedPatches = rejectedPatches;
return this;
}
/**
* @param rejectedPatches Reject patches.
*
* @return builder
*
*/
public Builder rejectedPatches(List rejectedPatches) {
return rejectedPatches(Output.of(rejectedPatches));
}
/**
* @param rejectedPatches Reject patches.
*
* @return builder
*
*/
public Builder rejectedPatches(String... rejectedPatches) {
return rejectedPatches(List.of(rejectedPatches));
}
/**
* @param rejectedPatchesAction Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.
*
* @return builder
*
*/
public Builder rejectedPatchesAction(@Nullable Output rejectedPatchesAction) {
$.rejectedPatchesAction = rejectedPatchesAction;
return this;
}
/**
* @param rejectedPatchesAction Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.
*
* @return builder
*
*/
public Builder rejectedPatchesAction(String rejectedPatchesAction) {
return rejectedPatchesAction(Output.of(rejectedPatchesAction));
}
/**
* @param resourceGroupId The ID of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupId(@Nullable Output resourceGroupId) {
$.resourceGroupId = resourceGroupId;
return this;
}
/**
* @param resourceGroupId The ID of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupId(String resourceGroupId) {
return resourceGroupId(Output.of(resourceGroupId));
}
/**
* @param sources Source.
*
* @return builder
*
*/
public Builder sources(@Nullable Output> sources) {
$.sources = sources;
return this;
}
/**
* @param sources Source.
*
* @return builder
*
*/
public Builder sources(List sources) {
return sources(Output.of(sources));
}
/**
* @param sources Source.
*
* @return builder
*
*/
public Builder sources(String... sources) {
return sources(List.of(sources));
}
/**
* @param tags Label.
*
* @return builder
*
*/
public Builder tags(@Nullable Output> tags) {
$.tags = tags;
return this;
}
/**
* @param tags Label.
*
* @return builder
*
*/
public Builder tags(Map tags) {
return tags(Output.of(tags));
}
public PatchBaselineState build() {
return $;
}
}
}