/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.config.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function * ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a * rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type * is periodic. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class OrganizationCustomRuleMetadata implements Serializable, Cloneable, StructuredPojo { /** *

* The description that you provide for your organization Config rule. *

*/ private String description; /** *

* The lambda function ARN. *

*/ private String lambdaFunctionArn; /** *

* The type of notification that triggers Config to run an evaluation for a rule. You can specify the following * notification types: *

* */ private com.amazonaws.internal.SdkInternalList organizationConfigRuleTriggerTypes; /** *

* A string, in JSON format, that is passed to your organization Config rule Lambda function. *

*/ private String inputParameters; /** *

* The maximum frequency with which Config runs evaluations for a rule. Your custom rule is triggered when Config * delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties. *

* *

* By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid * value for the MaximumExecutionFrequency parameter. *

*
*/ private String maximumExecutionFrequency; /** *

* The type of the Amazon Web Services resource that was evaluated. *

*/ private com.amazonaws.internal.SdkInternalList resourceTypesScope; /** *

* The ID of the Amazon Web Services resource that was evaluated. *

*/ private String resourceIdScope; /** *

* One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more * specific tag values. *

*/ private String tagKeyScope; /** *

* The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category * (key). *

*/ private String tagValueScope; /** *

* The description that you provide for your organization Config rule. *

* * @param description * The description that you provide for your organization Config rule. */ public void setDescription(String description) { this.description = description; } /** *

* The description that you provide for your organization Config rule. *

* * @return The description that you provide for your organization Config rule. */ public String getDescription() { return this.description; } /** *

* The description that you provide for your organization Config rule. *

* * @param description * The description that you provide for your organization Config rule. * @return Returns a reference to this object so that method calls can be chained together. */ public OrganizationCustomRuleMetadata withDescription(String description) { setDescription(description); return this; } /** *

* The lambda function ARN. *

* * @param lambdaFunctionArn * The lambda function ARN. */ public void setLambdaFunctionArn(String lambdaFunctionArn) { this.lambdaFunctionArn = lambdaFunctionArn; } /** *

* The lambda function ARN. *

* * @return The lambda function ARN. */ public String getLambdaFunctionArn() { return this.lambdaFunctionArn; } /** *

* The lambda function ARN. *

* * @param lambdaFunctionArn * The lambda function ARN. * @return Returns a reference to this object so that method calls can be chained together. */ public OrganizationCustomRuleMetadata withLambdaFunctionArn(String lambdaFunctionArn) { setLambdaFunctionArn(lambdaFunctionArn); return this; } /** *

* The type of notification that triggers Config to run an evaluation for a rule. You can specify the following * notification types: *

* * * @return The type of notification that triggers Config to run an evaluation for a rule. You can specify the * following notification types:

*