Class DescribeFlowLogsRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeFlowLogsRequest.Builder,DescribeFlowLogsRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final BooleandryRun()Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.final booleanfinal booleanequalsBySdkFields(Object obj) filter()One or more filters.One or more flow log IDs.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Filter property.final booleanFor responses, this returns true if the service returned a value for the FlowLogIds property.final inthashCode()final IntegerThe maximum number of items to return for this request.final StringThe token to request the next page of items.static Class<? extends DescribeFlowLogsRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
-
hasFilter
public final boolean hasFilter()For responses, this returns true if the service returned a value for the Filter property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
filter
One or more filters.
-
deliver-log-status- The status of the logs delivery (SUCCESS|FAILED). -
log-destination-type- The type of destination for the flow log data (cloud-watch-logs|s3|kinesis-data-firehose). -
flow-log-id- The ID of the flow log. -
log-group-name- The name of the log group. -
resource-id- The ID of the VPC, subnet, or network interface. -
traffic-type- The type of traffic (ACCEPT|REJECT|ALL). -
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFilter()method.- Returns:
- One or more filters.
-
deliver-log-status- The status of the logs delivery (SUCCESS|FAILED). -
log-destination-type- The type of destination for the flow log data (cloud-watch-logs|s3|kinesis-data-firehose). -
flow-log-id- The ID of the flow log. -
log-group-name- The name of the log group. -
resource-id- The ID of the VPC, subnet, or network interface. -
traffic-type- The type of traffic (ACCEPT|REJECT|ALL). -
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
-
-
hasFlowLogIds
public final boolean hasFlowLogIds()For responses, this returns true if the service returned a value for the FlowLogIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
flowLogIds
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFlowLogIds()method.- Returns:
- One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
-
maxResults
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- Returns:
- The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
nextToken
The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
- Returns:
- The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeFlowLogsRequest.Builder,DescribeFlowLogsRequest> - Specified by:
toBuilderin classEc2Request
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-