Class Source
- All Implemented Interfaces:
Serializable
,Cloneable
Provides the AWS Config rule owner (AWS or customer), the rule identifier, and the events that trigger the evaluation of your AWS resources.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getOwner()
Indicates whether AWS or the customer owns and manages the AWS Config rule.Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.For AWS managed Config rules, a pre-defined identifier from a list.int
hashCode()
void
Indicates whether AWS or the customer owns and manages the AWS Config rule.void
Indicates whether AWS or the customer owns and manages the AWS Config rule.void
setSourceDetails
(Collection<SourceDetail> sourceDetails) Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.void
setSourceIdentifier
(String sourceIdentifier) For AWS managed Config rules, a pre-defined identifier from a list.toString()
Returns a string representation of this object; useful for testing and debugging.Indicates whether AWS or the customer owns and manages the AWS Config rule.Indicates whether AWS or the customer owns and manages the AWS Config rule.withSourceDetails
(SourceDetail... sourceDetails) Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.withSourceDetails
(Collection<SourceDetail> sourceDetails) Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.withSourceIdentifier
(String sourceIdentifier) For AWS managed Config rules, a pre-defined identifier from a list.
-
Constructor Details
-
Source
public Source()
-
-
Method Details
-
setOwner
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:
-
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:
-
withOwner
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:
-
setOwner
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:
-
withOwner
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:
-
setSourceIdentifier
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
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
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
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
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
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)
orwithSourceDetails(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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-