Package com.oracle.bmc.marketplace.model
Class AcceptedAgreement.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.AcceptedAgreement.Builder
-
- Enclosing class:
- AcceptedAgreement
public static class AcceptedAgreement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcceptedAgreement.BuilderagreementId(String agreementId)The unique identifier for the terms of use agreement itself.AcceptedAgreementbuild()AcceptedAgreement.BuildercompartmentId(String compartmentId)The unique identifier for the compartment where the agreement was accepted.AcceptedAgreement.Buildercopy(AcceptedAgreement model)AcceptedAgreement.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.AcceptedAgreement.BuilderdisplayName(String displayName)A display name for the accepted agreement.AcceptedAgreement.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.AcceptedAgreement.Builderid(String id)The unique identifier for the acceptance of the agreement within a specific compartment.AcceptedAgreement.BuilderlistingId(String listingId)The unique identifier for the listing associated with the agreement.AcceptedAgreement.BuilderpackageVersion(String packageVersion)The package version associated with the agreement.AcceptedAgreement.BuildertimeAccepted(Date timeAccepted)The time the agreement was accepted.
-
-
-
Method Detail
-
id
public AcceptedAgreement.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 AcceptedAgreement.Builder displayName(String displayName)
A display name for the accepted agreement.- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public AcceptedAgreement.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 AcceptedAgreement.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 AcceptedAgreement.Builder packageVersion(String packageVersion)
The package version associated with the agreement.- Parameters:
packageVersion- the value to set- Returns:
- this builder
-
agreementId
public AcceptedAgreement.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 AcceptedAgreement.Builder timeAccepted(Date timeAccepted)
The time the agreement was accepted.- Parameters:
timeAccepted- the value to set- Returns:
- this builder
-
definedTags
public AcceptedAgreement.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
freeformTags
public AcceptedAgreement.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
build
public AcceptedAgreement build()
-
copy
public AcceptedAgreement.Builder copy(AcceptedAgreement model)
-
-