Interface ActiveTrustedKeyGroups.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ActiveTrustedKeyGroups.Builder,ActiveTrustedKeyGroups>
,SdkBuilder<ActiveTrustedKeyGroups.Builder,ActiveTrustedKeyGroups>
,SdkPojo
- Enclosing class:
- ActiveTrustedKeyGroups
public static interface ActiveTrustedKeyGroups.Builder extends SdkPojo, CopyableBuilder<ActiveTrustedKeyGroups.Builder,ActiveTrustedKeyGroups>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveTrustedKeyGroups.Builder
enabled(Boolean enabled)
This field istrue
if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.ActiveTrustedKeyGroups.Builder
items(Collection<KGKeyPairIds> items)
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.ActiveTrustedKeyGroups.Builder
items(Consumer<KGKeyPairIds.Builder>... items)
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.ActiveTrustedKeyGroups.Builder
items(KGKeyPairIds... items)
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.ActiveTrustedKeyGroups.Builder
quantity(Integer quantity)
The number of key groups in the list.-
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
-
enabled
ActiveTrustedKeyGroups.Builder enabled(Boolean enabled)
This field is
true
if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field isfalse
.- Parameters:
enabled
- This field istrue
if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
ActiveTrustedKeyGroups.Builder quantity(Integer quantity)
The number of key groups in the list.
- Parameters:
quantity
- The number of key groups in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ActiveTrustedKeyGroups.Builder items(Collection<KGKeyPairIds> items)
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- Parameters:
items
- A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ActiveTrustedKeyGroups.Builder items(KGKeyPairIds... items)
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.
- Parameters:
items
- A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ActiveTrustedKeyGroups.Builder items(Consumer<KGKeyPairIds.Builder>... items)
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.
This is a convenience method that creates an instance of theKGKeyPairIds.Builder
avoiding the need to create one manually viaKGKeyPairIds.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#items(List
.) - Parameters:
items
- a consumer that will call methods onKGKeyPairIds.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection
)
-
-