Interface TrustedAccessProgramSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrustedAccessProgramSummary.Builder,,TrustedAccessProgramSummary> SdkBuilder<TrustedAccessProgramSummary.Builder,,TrustedAccessProgramSummary> SdkPojo
- Enclosing class:
TrustedAccessProgramSummary
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Description of the program and its effects on model access or data handling.detailsUrl(String detailsUrl) URL with program details, terms, and instructions for obtaining access.eligibilityScope(String eligibilityScope) Scope supplying the applicable approval or most-specific revocation.eligibilityScope(TrustedAccessProgramScope eligibilityScope) Scope supplying the applicable approval or most-specific revocation.enrollmentUrl(String enrollmentUrl) Provider application intake URL.Display name of the program.Resolved customer preference, preserved independently of eligibility, including while revoked.optIn(TrustedAccessProgramOptIn optIn) Resolved customer preference, preserved independently of eligibility, including while revoked.Identifier of the trusted access program.providerName(String providerName) Name of the model provider offering the program.resolvedFor(Consumer<TrustedAccessResolutionContext.Builder> resolvedFor) Account and optional project context for which participation was resolved.resolvedFor(TrustedAccessResolutionContext resolvedFor) Account and optional project context for which participation was resolved.Scope deciding the status.source(TrustedAccessProgramScope source) Scope deciding the status.Participation status resolved for the account and optional project context.status(TrustedAccessProgramStatus status) Participation status resolved for the account and optional project context.statusReason(String statusReason) Nonempty explanation for requestable or revoked status.Last change to the enrollment supplying the resolved opt-in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
programId
Identifier of the trusted access program.
- Parameters:
programId- Identifier of the trusted access program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Display name of the program.
- Parameters:
name- Display name of the program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Description of the program and its effects on model access or data handling.
- Parameters:
description- Description of the program and its effects on model access or data handling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerName
Name of the model provider offering the program.
- Parameters:
providerName- Name of the model provider offering the program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailsUrl
URL with program details, terms, and instructions for obtaining access.
- Parameters:
detailsUrl- URL with program details, terms, and instructions for obtaining access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enrollmentUrl
Provider application intake URL. Omitted when the program has no customer-facing intake URL.
- Parameters:
enrollmentUrl- Provider application intake URL. Omitted when the program has no customer-facing intake URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Participation status resolved for the account and optional project context.
- Parameters:
status- Participation status resolved for the account and optional project context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Participation status resolved for the account and optional project context.
- Parameters:
status- Participation status resolved for the account and optional project context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Nonempty explanation for requestable or revoked status. Omitted for other statuses.
- Parameters:
statusReason- Nonempty explanation for requestable or revoked status. Omitted for other statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.
- Parameters:
source- Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.
- Parameters:
source- Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eligibilityScope
Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.
- Parameters:
eligibilityScope- Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eligibilityScope
Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.
- Parameters:
eligibilityScope- Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolvedFor
Account and optional project context for which participation was resolved.
- Parameters:
resolvedFor- Account and optional project context for which participation was resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedFor
default TrustedAccessProgramSummary.Builder resolvedFor(Consumer<TrustedAccessResolutionContext.Builder> resolvedFor) Account and optional project context for which participation was resolved.
This is a convenience method that creates an instance of theTrustedAccessResolutionContext.Builderavoiding the need to create one manually viaTrustedAccessResolutionContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresolvedFor(TrustedAccessResolutionContext).- Parameters:
resolvedFor- a consumer that will call methods onTrustedAccessResolutionContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optIn
Resolved customer preference, preserved independently of eligibility, including while revoked.
- Parameters:
optIn- Resolved customer preference, preserved independently of eligibility, including while revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optIn
Resolved customer preference, preserved independently of eligibility, including while revoked.
- Parameters:
optIn- Resolved customer preference, preserved independently of eligibility, including while revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
Last change to the enrollment supplying the resolved opt-in. Present for enabled or disabled, including while revoked; omitted for inherit.
- Parameters:
updatedAt- Last change to the enrollment supplying the resolved opt-in. Present for enabled or disabled, including while revoked; omitted for inherit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-