Send feedback
Class Exclusion.Builder (3.14.7)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.14.7 keyboard_arrow_down
public static class Exclusion . Builder
A builder for Exclusion
objects.
Methods
build()
Creates a Exclusion
object.
setCreateTime(Timestamp createTime)
public Exclusion . Builder setCreateTime ( Timestamp createTime )
[Output only] The creation timestamp of the exclusion.
setDescription(String description)
public Exclusion . Builder setDescription ( String description )
[Optional] A description of this exclusion.
Parameter Name Description description
String
setDisabled(boolean disabled)
public Exclusion . Builder setDisabled ( boolean disabled )
[Optional] If set to True, then this exclusion is disabled and it does not exclude any log
entries.
Parameter Name Description disabled
boolean
setFilter(String filter)
public Exclusion . Builder setFilter ( String filter )
[Required] An advanced logs filter that matches the log entries to be excluded. By using the
sample function, you can exclude less than 100% of the matching log entries.
Parameter Name Description filter
String
setName(String name)
public Exclusion . Builder setName ( String name )
[Required] A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are
limited to 100 characters and can include only letters, digits, underscores, hyphens, and
periods. First character has to be alphanumeric.
Parameter Name Description name
String
setUpdateTime(Timestamp updateTime)
public Exclusion . Builder setUpdateTime ( Timestamp updateTime )
[Output only] The last update timestamp of the exclusion.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}