Class Source

    • Constructor Detail

      • Source

        public Source()
    • Method Detail

      • setOwner

        public void setOwner​(String owner)

        Indicates whether AWS or the customer owns and manages the AWS Config rule.

        Parameters:
        owner - Indicates whether AWS or the customer owns and manages the AWS Config rule.
        See Also:
        Owner
      • getOwner

        public String getOwner()

        Indicates whether AWS or the customer owns and manages the AWS Config rule.

        Returns:
        Indicates whether AWS or the customer owns and manages the AWS Config rule.
        See Also:
        Owner
      • withOwner

        public Source withOwner​(String owner)

        Indicates whether AWS or the customer owns and manages the AWS Config rule.

        Parameters:
        owner - Indicates whether AWS or the customer owns and manages the AWS Config rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Owner
      • setOwner

        public void setOwner​(Owner owner)

        Indicates whether AWS or the customer owns and manages the AWS Config rule.

        Parameters:
        owner - Indicates whether AWS or the customer owns and manages the AWS Config rule.
        See Also:
        Owner
      • withOwner

        public Source withOwner​(Owner owner)

        Indicates whether AWS or the customer owns and manages the AWS Config rule.

        Parameters:
        owner - Indicates whether AWS or the customer owns and manages the AWS Config rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Owner
      • setSourceIdentifier

        public void setSourceIdentifier​(String sourceIdentifier)

        For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

        Parameters:
        sourceIdentifier - For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

      • getSourceIdentifier

        public String getSourceIdentifier()

        For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

        Returns:
        For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

      • withSourceIdentifier

        public Source withSourceIdentifier​(String sourceIdentifier)

        For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

        Parameters:
        sourceIdentifier - For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSourceDetails

        public List<SourceDetail> getSourceDetails()

        Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.

        Returns:
        Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
      • setSourceDetails

        public void setSourceDetails​(Collection<SourceDetail> sourceDetails)

        Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.

        Parameters:
        sourceDetails - Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
      • withSourceDetails

        public Source withSourceDetails​(SourceDetail... sourceDetails)

        Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.

        NOTE: This method appends the values to the existing list (if any). Use setSourceDetails(java.util.Collection) or withSourceDetails(java.util.Collection) if you want to override the existing values.

        Parameters:
        sourceDetails - Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSourceDetails

        public Source withSourceDetails​(Collection<SourceDetail> sourceDetails)

        Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.

        Parameters:
        sourceDetails - Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object