All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.recoveryservices.outputs.A2AProtectionContainerMappingDetailsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.recoveryservices.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class A2AProtectionContainerMappingDetailsResponse {
    /**
     * @return A value indicating whether the auto update is enabled.
     * 
     */
    private @Nullable String agentAutoUpdateStatus;
    /**
     * @return The automation account arm id.
     * 
     */
    private @Nullable String automationAccountArmId;
    /**
     * @return A value indicating the type authentication to use for automation Account.
     * 
     */
    private @Nullable String automationAccountAuthenticationType;
    /**
     * @return Gets the class type. Overridden in derived classes.
     * Expected value is 'A2A'.
     * 
     */
    private String instanceType;
    /**
     * @return The job schedule arm name.
     * 
     */
    private @Nullable String jobScheduleName;
    /**
     * @return The schedule arm name.
     * 
     */
    private @Nullable String scheduleName;

    private A2AProtectionContainerMappingDetailsResponse() {}
    /**
     * @return A value indicating whether the auto update is enabled.
     * 
     */
    public Optional agentAutoUpdateStatus() {
        return Optional.ofNullable(this.agentAutoUpdateStatus);
    }
    /**
     * @return The automation account arm id.
     * 
     */
    public Optional automationAccountArmId() {
        return Optional.ofNullable(this.automationAccountArmId);
    }
    /**
     * @return A value indicating the type authentication to use for automation Account.
     * 
     */
    public Optional automationAccountAuthenticationType() {
        return Optional.ofNullable(this.automationAccountAuthenticationType);
    }
    /**
     * @return Gets the class type. Overridden in derived classes.
     * Expected value is 'A2A'.
     * 
     */
    public String instanceType() {
        return this.instanceType;
    }
    /**
     * @return The job schedule arm name.
     * 
     */
    public Optional jobScheduleName() {
        return Optional.ofNullable(this.jobScheduleName);
    }
    /**
     * @return The schedule arm name.
     * 
     */
    public Optional scheduleName() {
        return Optional.ofNullable(this.scheduleName);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(A2AProtectionContainerMappingDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String agentAutoUpdateStatus;
        private @Nullable String automationAccountArmId;
        private @Nullable String automationAccountAuthenticationType;
        private String instanceType;
        private @Nullable String jobScheduleName;
        private @Nullable String scheduleName;
        public Builder() {}
        public Builder(A2AProtectionContainerMappingDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.agentAutoUpdateStatus = defaults.agentAutoUpdateStatus;
    	      this.automationAccountArmId = defaults.automationAccountArmId;
    	      this.automationAccountAuthenticationType = defaults.automationAccountAuthenticationType;
    	      this.instanceType = defaults.instanceType;
    	      this.jobScheduleName = defaults.jobScheduleName;
    	      this.scheduleName = defaults.scheduleName;
        }

        @CustomType.Setter
        public Builder agentAutoUpdateStatus(@Nullable String agentAutoUpdateStatus) {

            this.agentAutoUpdateStatus = agentAutoUpdateStatus;
            return this;
        }
        @CustomType.Setter
        public Builder automationAccountArmId(@Nullable String automationAccountArmId) {

            this.automationAccountArmId = automationAccountArmId;
            return this;
        }
        @CustomType.Setter
        public Builder automationAccountAuthenticationType(@Nullable String automationAccountAuthenticationType) {

            this.automationAccountAuthenticationType = automationAccountAuthenticationType;
            return this;
        }
        @CustomType.Setter
        public Builder instanceType(String instanceType) {
            if (instanceType == null) {
              throw new MissingRequiredPropertyException("A2AProtectionContainerMappingDetailsResponse", "instanceType");
            }
            this.instanceType = instanceType;
            return this;
        }
        @CustomType.Setter
        public Builder jobScheduleName(@Nullable String jobScheduleName) {

            this.jobScheduleName = jobScheduleName;
            return this;
        }
        @CustomType.Setter
        public Builder scheduleName(@Nullable String scheduleName) {

            this.scheduleName = scheduleName;
            return this;
        }
        public A2AProtectionContainerMappingDetailsResponse build() {
            final var _resultValue = new A2AProtectionContainerMappingDetailsResponse();
            _resultValue.agentAutoUpdateStatus = agentAutoUpdateStatus;
            _resultValue.automationAccountArmId = automationAccountArmId;
            _resultValue.automationAccountAuthenticationType = automationAccountAuthenticationType;
            _resultValue.instanceType = instanceType;
            _resultValue.jobScheduleName = jobScheduleName;
            _resultValue.scheduleName = scheduleName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy