public static final class ModifyFlowLogAttributeRequest.Builder extends Object
public ModifyFlowLogAttributeRequest.Builder cenId(String cenId)
The CEN instance ID.
example:cen-7qthudw0ll6jmc****
public ModifyFlowLogAttributeRequest.Builder clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the value, but you must make sure that the value is unique among different requests. The client token can contain only ASCII characters.
example:If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId for each API request may be different.
123e4567-e89b-12d3-a456-42665544****
public ModifyFlowLogAttributeRequest.Builder description(String description)
The new description of the flow log.
The description can be empty or 1 to 256 characters in length, and cannot start with http:// or https://.
example:myFlowlog
public ModifyFlowLogAttributeRequest.Builder flowLogId(String flowLogId)
The ID of the flow log.
This parameter is required.
example:flowlog-m5evbtbpt****
public ModifyFlowLogAttributeRequest.Builder flowLogName(String flowLogName)
The new name of the flow log.
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
example:myFlowlog
public ModifyFlowLogAttributeRequest.Builder interval(Long interval)
The time window for collecting log data. Unit: seconds. Valid values: 60 or 600 Default value: 600.
example:600
public ModifyFlowLogAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyFlowLogAttributeRequest.Builder ownerId(Long ownerId)
public ModifyFlowLogAttributeRequest.Builder regionId(String regionId)
The ID of the region where the flow log is deployed.
You can call the DescribeChildInstanceRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
public ModifyFlowLogAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyFlowLogAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyFlowLogAttributeRequest build()
Copyright © 2025. All rights reserved.