Interface View.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<View.Builder,
,View> SdkBuilder<View.Builder,
,View> SdkPojo
- Enclosing class:
View
-
Method Summary
Modifier and TypeMethodDescriptiondefault View.Builder
filters
(Consumer<SearchFilter.Builder> filters) An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.filters
(SearchFilter filters) An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.includedProperties
(Collection<IncludedProperty> includedProperties) A structure that contains additional information about the view.includedProperties
(Consumer<IncludedProperty.Builder>... includedProperties) A structure that contains additional information about the view.includedProperties
(IncludedProperty... includedProperties) A structure that contains additional information about the view.lastUpdatedAt
(Instant lastUpdatedAt) The date and time when this view was last modified.The Amazon Web Services account that owns this view.An Amazon resource name (ARN) of an Amazon Web Services account, an organization, or an organizational unit (OU) that specifies whether this view includes resources from only the specified Amazon Web Services account, all accounts in the specified organization, or all accounts in the specified OU.The Amazon resource name (ARN) of the view.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.
- Parameters:
filters
- An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.
This is a convenience method that creates an instance of theSearchFilter.Builder
avoiding the need to create one manually viaSearchFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(SearchFilter)
.- Parameters:
filters
- a consumer that will call methods onSearchFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includedProperties
A structure that contains additional information about the view.
- Parameters:
includedProperties
- A structure that contains additional information about the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedProperties
A structure that contains additional information about the view.
- Parameters:
includedProperties
- A structure that contains additional information about the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedProperties
A structure that contains additional information about the view.
This is a convenience method that creates an instance of theIncludedProperty.Builder
avoiding the need to create one manually viaIncludedProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincludedProperties(List<IncludedProperty>)
.- Parameters:
includedProperties
- a consumer that will call methods onIncludedProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedAt
The date and time when this view was last modified.
- Parameters:
lastUpdatedAt
- The date and time when this view was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The Amazon Web Services account that owns this view.
- Parameters:
owner
- The Amazon Web Services account that owns this view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
An Amazon resource name (ARN) of an Amazon Web Services account, an organization, or an organizational unit (OU) that specifies whether this view includes resources from only the specified Amazon Web Services account, all accounts in the specified organization, or all accounts in the specified OU.
If not specified, the value defaults to the Amazon Web Services account used to call this operation.
- Parameters:
scope
- An Amazon resource name (ARN) of an Amazon Web Services account, an organization, or an organizational unit (OU) that specifies whether this view includes resources from only the specified Amazon Web Services account, all accounts in the specified organization, or all accounts in the specified OU.If not specified, the value defaults to the Amazon Web Services account used to call this operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewArn
The Amazon resource name (ARN) of the view.
- Parameters:
viewArn
- The Amazon resource name (ARN) of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-