// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.security.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The Defender for servers connection configuration. */
@Fluent
public final class DefenderForServersAwsOfferingDefenderForServers {
    /*
     * The cloud role ARN in AWS for this feature
     */
    @JsonProperty(value = "cloudRoleArn")
    private String cloudRoleArn;

    /** Creates an instance of DefenderForServersAwsOfferingDefenderForServers class. */
    public DefenderForServersAwsOfferingDefenderForServers() {
    }

    /**
     * Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.
     *
     * @return the cloudRoleArn value.
     */
    public String cloudRoleArn() {
        return this.cloudRoleArn;
    }

    /**
     * Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.
     *
     * @param cloudRoleArn the cloudRoleArn value to set.
     * @return the DefenderForServersAwsOfferingDefenderForServers object itself.
     */
    public DefenderForServersAwsOfferingDefenderForServers withCloudRoleArn(String cloudRoleArn) {
        this.cloudRoleArn = cloudRoleArn;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
