// 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 kinesis to s3 connection configuration. */
@Fluent
public final class DefenderForContainersAwsOfferingKinesisToS3 {
    /*
     * The cloud role ARN in AWS used by Kinesis to transfer data into S3
     */
    @JsonProperty(value = "cloudRoleArn")
    private String cloudRoleArn;

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

    /**
     * Get the cloudRoleArn property: The cloud role ARN in AWS used by Kinesis to transfer data into S3.
     *
     * @return the cloudRoleArn value.
     */
    public String cloudRoleArn() {
        return this.cloudRoleArn;
    }

    /**
     * Set the cloudRoleArn property: The cloud role ARN in AWS used by Kinesis to transfer data into S3.
     *
     * @param cloudRoleArn the cloudRoleArn value to set.
     * @return the DefenderForContainersAwsOfferingKinesisToS3 object itself.
     */
    public DefenderForContainersAwsOfferingKinesisToS3 withCloudRoleArn(String cloudRoleArn) {
        this.cloudRoleArn = cloudRoleArn;
        return this;
    }

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