Interface ManagedView.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedView.Builder,ManagedView>,SdkBuilder<ManagedView.Builder,ManagedView>,SdkPojo
- Enclosing class:
- ManagedView
public static interface ManagedView.Builder extends SdkPojo, CopyableBuilder<ManagedView.Builder,ManagedView>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ManagedView.Builderfilters(Consumer<SearchFilter.Builder> filters)Sets the value of the Filters property for this object.ManagedView.Builderfilters(SearchFilter filters)Sets the value of the Filters property for this object.ManagedView.BuilderincludedProperties(Collection<IncludedProperty> includedProperties)A structure that contains additional information about the managed view.ManagedView.BuilderincludedProperties(Consumer<IncludedProperty.Builder>... includedProperties)A structure that contains additional information about the managed view.ManagedView.BuilderincludedProperties(IncludedProperty... includedProperties)A structure that contains additional information about the managed view.ManagedView.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when this managed view was last modified.ManagedView.BuildermanagedViewArn(String managedViewArn)The Amazon resource name (ARN) of the managed view.ManagedView.BuildermanagedViewName(String managedViewName)The name of the managed view.ManagedView.Builderowner(String owner)The Amazon Web Services account that owns this managed view.ManagedView.BuilderresourcePolicy(String resourcePolicy)The resource policy that defines access to the managed view.ManagedView.Builderscope(String 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.ManagedView.BuildertrustedService(String trustedService)The service principal of the Amazon Web Services service that created and manages the managed view.ManagedView.Builderversion(String version)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 Detail
-
filters
ManagedView.Builder filters(SearchFilter 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
default ManagedView.Builder filters(Consumer<SearchFilter.Builder> filters)
Sets the value of the Filters property for this object. 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
ManagedView.Builder includedProperties(Collection<IncludedProperty> 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
ManagedView.Builder includedProperties(IncludedProperty... 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
ManagedView.Builder includedProperties(Consumer<IncludedProperty.Builder>... includedProperties)
A structure that contains additional information about the managed 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
ManagedView.Builder lastUpdatedAt(Instant 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
ManagedView.Builder managedViewArn(String 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
ManagedView.Builder managedViewName(String 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
ManagedView.Builder owner(String 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
ManagedView.Builder resourcePolicy(String 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
ManagedView.Builder scope(String 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
ManagedView.Builder trustedService(String 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
ManagedView.Builder version(String 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.
-
-