Interface View.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<View.Builder,View>,SdkBuilder<View.Builder,View>,SdkPojo
- Enclosing class:
- View
public static interface View.Builder extends SdkPojo, CopyableBuilder<View.Builder,View>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default View.Builderfilters(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.View.Builderfilters(SearchFilter filters)An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.View.BuilderincludedProperties(Collection<IncludedProperty> includedProperties)A structure that contains additional information about the view.View.BuilderincludedProperties(Consumer<IncludedProperty.Builder>... includedProperties)A structure that contains additional information about the view.View.BuilderincludedProperties(IncludedProperty... includedProperties)A structure that contains additional information about the view.View.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when this view was last modified.View.Builderowner(String owner)The Amazon Web Services account that owns this view.View.Builderscope(String 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.View.BuilderviewArn(String viewArn)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 Detail
-
filters
View.Builder filters(SearchFilter 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
default 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.
This is a convenience method that creates an instance of theSearchFilter.Builderavoiding the need to create one manually viaSearchFilter.builder().When the
Consumercompletes,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:
filters(SearchFilter)
-
includedProperties
View.Builder includedProperties(Collection<IncludedProperty> 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
View.Builder includedProperties(IncludedProperty... 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
View.Builder includedProperties(Consumer<IncludedProperty.Builder>... includedProperties)
A structure that contains additional information about the view.
This is a convenience method that creates an instance of theIncludedProperty.Builderavoiding the need to create one manually viaIncludedProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#includedProperties(List.) - 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:
#includedProperties(java.util.Collection)
-
lastUpdatedAt
View.Builder lastUpdatedAt(Instant 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
View.Builder owner(String 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
View.Builder scope(String 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
View.Builder viewArn(String 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.
-
-