Class ListReservationsOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.ListReservationsOptions.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaffinityPolicy
(String affinityPolicy) Set the affinityPolicy.build()
Builds a ListReservationsOptions.limit
(long limit) Set the limit.Set the name.profileResourceType
(String profileResourceType) Set the profileResourceType.resourceGroupId
(String resourceGroupId) Set the resourceGroupId.Set the start.Set the zoneName.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a ListReservationsOptions.- Returns:
- the new ListReservationsOptions instance
-
start
Set the start.- Parameters:
start
- the start- Returns:
- the ListReservationsOptions builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the ListReservationsOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the ListReservationsOptions builder
-
profileResourceType
Set the profileResourceType.- Parameters:
profileResourceType
- the profileResourceType- Returns:
- the ListReservationsOptions builder
-
affinityPolicy
Set the affinityPolicy.- Parameters:
affinityPolicy
- the affinityPolicy- Returns:
- the ListReservationsOptions builder
-
resourceGroupId
Set the resourceGroupId.- Parameters:
resourceGroupId
- the resourceGroupId- Returns:
- the ListReservationsOptions builder
-
zoneName
Set the zoneName.- Parameters:
zoneName
- the zoneName- Returns:
- the ListReservationsOptions builder
-