Package com.oracle.bmc.marketplace.model
Class AcceptedAgreementSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.AcceptedAgreementSummary.Builder
-
- Enclosing class:
- AcceptedAgreementSummary
public static class AcceptedAgreementSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcceptedAgreementSummary.Builder
agreementId(String agreementId)
The unique identifier for the terms of use agreement itself.AcceptedAgreementSummary
build()
AcceptedAgreementSummary.Builder
compartmentId(String compartmentId)
The unique identifier for the compartment where the agreement was accepted.AcceptedAgreementSummary.Builder
copy(AcceptedAgreementSummary model)
AcceptedAgreementSummary.Builder
displayName(String displayName)
A display name for the accepted agreement.AcceptedAgreementSummary.Builder
id(String id)
The unique identifier for the acceptance of the agreement within a specific compartment.AcceptedAgreementSummary.Builder
listingId(String listingId)
The unique identifier for the listing associated with the agreement.AcceptedAgreementSummary.Builder
packageVersion(String packageVersion)
The package version associated with the agreement.AcceptedAgreementSummary.Builder
timeAccepted(Date timeAccepted)
The time the agreement was accepted.
-
-
-
Method Detail
-
id
public AcceptedAgreementSummary.Builder id(String id)
The unique identifier for the acceptance of the agreement within a specific compartment.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public AcceptedAgreementSummary.Builder displayName(String displayName)
A display name for the accepted agreement.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public AcceptedAgreementSummary.Builder compartmentId(String compartmentId)
The unique identifier for the compartment where the agreement was accepted.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
listingId
public AcceptedAgreementSummary.Builder listingId(String listingId)
The unique identifier for the listing associated with the agreement.- Parameters:
listingId
- the value to set- Returns:
- this builder
-
packageVersion
public AcceptedAgreementSummary.Builder packageVersion(String packageVersion)
The package version associated with the agreement.- Parameters:
packageVersion
- the value to set- Returns:
- this builder
-
agreementId
public AcceptedAgreementSummary.Builder agreementId(String agreementId)
The unique identifier for the terms of use agreement itself.- Parameters:
agreementId
- the value to set- Returns:
- this builder
-
timeAccepted
public AcceptedAgreementSummary.Builder timeAccepted(Date timeAccepted)
The time the agreement was accepted.- Parameters:
timeAccepted
- the value to set- Returns:
- this builder
-
build
public AcceptedAgreementSummary build()
-
copy
public AcceptedAgreementSummary.Builder copy(AcceptedAgreementSummary model)
-
-