@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomPolicyDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.
Constructor and Description |
---|
CustomPolicyDetails() |
Modifier and Type | Method and Description |
---|---|
CustomPolicyDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableDebugLogDelivery()
The boolean expression for enabling debug logging for your Config Custom Policy rule.
|
String |
getPolicyRuntime()
The runtime system for your Config Custom Policy rule.
|
String |
getPolicyText()
The policy definition containing the logic for your Config Custom Policy rule.
|
int |
hashCode() |
Boolean |
isEnableDebugLogDelivery()
The boolean expression for enabling debug logging for your Config Custom Policy rule.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnableDebugLogDelivery(Boolean enableDebugLogDelivery)
The boolean expression for enabling debug logging for your Config Custom Policy rule.
|
void |
setPolicyRuntime(String policyRuntime)
The runtime system for your Config Custom Policy rule.
|
void |
setPolicyText(String policyText)
The policy definition containing the logic for your Config Custom Policy rule.
|
String |
toString()
Returns a string representation of this object.
|
CustomPolicyDetails |
withEnableDebugLogDelivery(Boolean enableDebugLogDelivery)
The boolean expression for enabling debug logging for your Config Custom Policy rule.
|
CustomPolicyDetails |
withPolicyRuntime(String policyRuntime)
The runtime system for your Config Custom Policy rule.
|
CustomPolicyDetails |
withPolicyText(String policyText)
The policy definition containing the logic for your Config Custom Policy rule.
|
public void setPolicyRuntime(String policyRuntime)
The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
policyRuntime
- The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you
to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see
the Guard GitHub Repository.public String getPolicyRuntime()
The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
public CustomPolicyDetails withPolicyRuntime(String policyRuntime)
The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
policyRuntime
- The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you
to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see
the Guard GitHub Repository.public void setPolicyText(String policyText)
The policy definition containing the logic for your Config Custom Policy rule.
policyText
- The policy definition containing the logic for your Config Custom Policy rule.public String getPolicyText()
The policy definition containing the logic for your Config Custom Policy rule.
public CustomPolicyDetails withPolicyText(String policyText)
The policy definition containing the logic for your Config Custom Policy rule.
policyText
- The policy definition containing the logic for your Config Custom Policy rule.public void setEnableDebugLogDelivery(Boolean enableDebugLogDelivery)
The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is
false
.
enableDebugLogDelivery
- The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is
false
.public Boolean getEnableDebugLogDelivery()
The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is
false
.
false
.public CustomPolicyDetails withEnableDebugLogDelivery(Boolean enableDebugLogDelivery)
The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is
false
.
enableDebugLogDelivery
- The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is
false
.public Boolean isEnableDebugLogDelivery()
The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is
false
.
false
.public String toString()
toString
in class Object
Object.toString()
public CustomPolicyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.