Modifier and Type | Method and Description |
---|---|
Exclusion |
build()
Creates a
Exclusion object. |
Exclusion.Builder |
setCreateTime(com.google.protobuf.Timestamp createTime)
[Output only] The creation timestamp of the exclusion.
|
Exclusion.Builder |
setDescription(String description)
[Optional] A description of this exclusion.
|
Exclusion.Builder |
setDisabled(boolean disabled)
[Optional] If set to True, then this exclusion is disabled and it does not exclude any log
entries.
|
Exclusion.Builder |
setFilter(String filter)
[Required] An advanced logs filter that matches the log entries to be excluded.
|
Exclusion.Builder |
setName(String name)
[Required] A client-assigned identifier, such as "load-balancer-exclusion".
|
Exclusion.Builder |
setUpdateTime(com.google.protobuf.Timestamp updateTime)
[Output only] The last update timestamp of the exclusion.
|
@CanIgnoreReturnValue public Exclusion.Builder setName(String name)
@CanIgnoreReturnValue public Exclusion.Builder setDescription(String description)
@CanIgnoreReturnValue public Exclusion.Builder setFilter(String filter)
@CanIgnoreReturnValue public Exclusion.Builder setDisabled(boolean disabled)
@CanIgnoreReturnValue public Exclusion.Builder setCreateTime(com.google.protobuf.Timestamp createTime)
@CanIgnoreReturnValue public Exclusion.Builder setUpdateTime(com.google.protobuf.Timestamp updateTime)
public Exclusion build()
Exclusion
object.Copyright © 2023 Google LLC. All rights reserved.