Interface ManagedView.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedView.Builder,
,ManagedView> SdkBuilder<ManagedView.Builder,
,ManagedView> SdkPojo
- Enclosing class:
ManagedView
-
Method Summary
Modifier and TypeMethodDescriptiondefault ManagedView.Builder
filters
(Consumer<SearchFilter.Builder> filters) Sets the value of the Filters property for this object.filters
(SearchFilter filters) Sets the value of the Filters property for this object.includedProperties
(Collection<IncludedProperty> includedProperties) A structure that contains additional information about the managed view.includedProperties
(Consumer<IncludedProperty.Builder>... includedProperties) A structure that contains additional information about the managed view.includedProperties
(IncludedProperty... includedProperties) A structure that contains additional information about the managed view.lastUpdatedAt
(Instant lastUpdatedAt) The date and time when this managed view was last modified.managedViewArn
(String managedViewArn) The Amazon resource name (ARN) of the managed view.managedViewName
(String managedViewName) The name of the managed view.The Amazon Web Services account that owns this managed view.resourcePolicy
(String resourcePolicy) The resource policy that defines access to the managed view.An Amazon resource name (ARN) of an Amazon Web Services account or organization that specifies whether this managed view includes resources from only the specified Amazon Web Services account or all accounts in the specified organization.trustedService
(String trustedService) The service principal of the Amazon Web Services service that created and manages the managed view.The version of the managed 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, sdkFieldNameToField, sdkFields
-
Method Details
-
filters
Sets the value of the Filters property for this object.- Parameters:
filters
- The new value for the Filters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Sets the value of the Filters property for this object. 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 managed view.
- Parameters:
includedProperties
- A structure that contains additional information about the managed 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 managed view.
- Parameters:
includedProperties
- A structure that contains additional information about the managed 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 managed 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 managed view was last modified.
- Parameters:
lastUpdatedAt
- The date and time when this managed view was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedViewArn
The Amazon resource name (ARN) of the managed view.
- Parameters:
managedViewArn
- The Amazon resource name (ARN) of the managed view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedViewName
The name of the managed view.
- Parameters:
managedViewName
- The name of the managed view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The Amazon Web Services account that owns this managed view.
- Parameters:
owner
- The Amazon Web Services account that owns this managed view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcePolicy
The resource policy that defines access to the managed view. To learn more about this policy, review Managed views.
- Parameters:
resourcePolicy
- The resource policy that defines access to the managed view. To learn more about this policy, review Managed views.- 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 or organization that specifies whether this managed view includes resources from only the specified Amazon Web Services account or all accounts in the specified organization.
- Parameters:
scope
- An Amazon resource name (ARN) of an Amazon Web Services account or organization that specifies whether this managed view includes resources from only the specified Amazon Web Services account or all accounts in the specified organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustedService
The service principal of the Amazon Web Services service that created and manages the managed view.
- Parameters:
trustedService
- The service principal of the Amazon Web Services service that created and manages the managed view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the managed view.
- Parameters:
version
- The version of the managed view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-