Send feedback
Class Exclusion.Builder (3.11.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.11.3 keyboard_arrow_down
public static class Exclusion.Builder
A builder for Exclusion
objects.
Methods
build()
Creates a Exclusion
object.
Returns
setCreateTime(Timestamp createTime)
public Exclusion.Builder setCreateTime(Timestamp createTime)
[Output only] The creation timestamp of the exclusion.
Parameter
Returns
setDescription(String description)
public Exclusion.Builder setDescription(String description)
[Optional] A description of this exclusion.
Parameter
Name Description description String
Returns
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
Returns
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
Returns
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
Returns
setUpdateTime(Timestamp updateTime)
public Exclusion.Builder setUpdateTime(Timestamp updateTime)
[Output only] The last update timestamp of the exclusion.
Parameter
Returns
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-10-04 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-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]