com.aliyun.sdk.service.ens20171110.models.GetBucketInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetBucketInfoRequest} extends {@link RequestModel}
*
* GetBucketInfoRequest
*/
public class GetBucketInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BucketName")
@com.aliyun.core.annotation.Validation(required = true)
private String bucketName;
private GetBucketInfoRequest(Builder builder) {
super(builder);
this.bucketName = builder.bucketName;
}
public static Builder builder() {
return new Builder();
}
public static GetBucketInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bucketName
*/
public String getBucketName() {
return this.bucketName;
}
public static final class Builder extends Request.Builder {
private String bucketName;
private Builder() {
super();
}
private Builder(GetBucketInfoRequest request) {
super(request);
this.bucketName = request.bucketName;
}
/**
* The name of the bucket.
* This parameter is required.
*
* example:
* test
*/
public Builder bucketName(String bucketName) {
this.putQueryParameter("BucketName", bucketName);
this.bucketName = bucketName;
return this;
}
@Override
public GetBucketInfoRequest build() {
return new GetBucketInfoRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy