Interface ProtectedResourceConditions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectedResourceConditions.Builder,ProtectedResourceConditions>,SdkBuilder<ProtectedResourceConditions.Builder,ProtectedResourceConditions>,SdkPojo
- Enclosing class:
- ProtectedResourceConditions
public static interface ProtectedResourceConditions.Builder extends SdkPojo, CopyableBuilder<ProtectedResourceConditions.Builder,ProtectedResourceConditions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtectedResourceConditions.BuilderstringEquals(Collection<KeyValue> stringEquals)Filters the values of your tagged resources for only those resources that you tagged with the same value.ProtectedResourceConditions.BuilderstringEquals(Consumer<KeyValue.Builder>... stringEquals)Filters the values of your tagged resources for only those resources that you tagged with the same value.ProtectedResourceConditions.BuilderstringEquals(KeyValue... stringEquals)Filters the values of your tagged resources for only those resources that you tagged with the same value.ProtectedResourceConditions.BuilderstringNotEquals(Collection<KeyValue> stringNotEquals)Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.ProtectedResourceConditions.BuilderstringNotEquals(Consumer<KeyValue.Builder>... stringNotEquals)Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.ProtectedResourceConditions.BuilderstringNotEquals(KeyValue... stringNotEquals)Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.-
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
-
stringEquals
ProtectedResourceConditions.Builder stringEquals(Collection<KeyValue> stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- Parameters:
stringEquals- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringEquals
ProtectedResourceConditions.Builder stringEquals(KeyValue... stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- Parameters:
stringEquals- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringEquals
ProtectedResourceConditions.Builder stringEquals(Consumer<KeyValue.Builder>... stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
This is a convenience method that creates an instance of theKeyValue.Builderavoiding the need to create one manually viaKeyValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stringEquals(List.) - Parameters:
stringEquals- a consumer that will call methods onKeyValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stringEquals(java.util.Collection)
-
stringNotEquals
ProtectedResourceConditions.Builder stringNotEquals(Collection<KeyValue> stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
- Parameters:
stringNotEquals- Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringNotEquals
ProtectedResourceConditions.Builder stringNotEquals(KeyValue... stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
- Parameters:
stringNotEquals- Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringNotEquals
ProtectedResourceConditions.Builder stringNotEquals(Consumer<KeyValue.Builder>... stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
This is a convenience method that creates an instance of theKeyValue.Builderavoiding the need to create one manually viaKeyValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stringNotEquals(List.) - Parameters:
stringNotEquals- a consumer that will call methods onKeyValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stringNotEquals(java.util.Collection)
-
-